‪TYPO3CMS  ‪main
TYPO3\CMS\Seo\MetaTag\OpenGraphMetaTagManager Class Reference
Inheritance diagram for TYPO3\CMS\Seo\MetaTag\OpenGraphMetaTagManager:
TYPO3\CMS\Core\MetaTag\AbstractMetaTagManager TYPO3\CMS\Core\MetaTag\MetaTagManagerInterface

Protected Attributes

string $defaultNameAttribute = 'property'
 
array $handledProperties
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\MetaTag\AbstractMetaTagManager
string $defaultNameAttribute = 'name'
 
string $defaultContentAttribute = 'content'
 
bool $defaultAllowMultipleOccurrences = false
 
string $subPropertySeparator = ':'
 
array $handledProperties = array( )
 
array $properties = array( )
 

Additional Inherited Members

- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\MetaTag\AbstractMetaTagManager
 addProperty (string $property, string $content, array $subProperties=[], bool $replace=false, string $type='')
 
 getAllHandledProperties ()
 
 getProperty (string $property, string $type='')
 
 renderProperty (string $property)
 
 renderAllProperties ()
 
 removeProperty (string $property, string $type='')
 
 removeAllProperties ()
 
 canHandleProperty (string $property)
 
 getState ()
 
 updateState (array $state)
 

Detailed Description

this class is not part of TYPO3's Core API.

Definition at line 25 of file OpenGraphMetaTagManager.php.

Member Data Documentation

◆ $defaultNameAttribute

string TYPO3\CMS\Seo\MetaTag\OpenGraphMetaTagManager::$defaultNameAttribute = 'property'
protected

The default attribute that defines the name of the property

This creates tags like <meta property="" > by default

Definition at line 33 of file OpenGraphMetaTagManager.php.

◆ $handledProperties

array TYPO3\CMS\Seo\MetaTag\OpenGraphMetaTagManager::$handledProperties
protected
Initial value:
= array(
'og:type' => [],
'og:title' => [],
'og:description' => [],
'og:site_name' => [],
'og:url' => [],
'og:audio' => [],
'og:video' => [],
'og:determiner' => [],
'og:locale' => [
'allowedSubProperties' => [
'alternate' => [
'allowMultipleOccurrences' => true,
],
],
],
'og:image' => [
'allowMultipleOccurrences' => true,
'allowedSubProperties' => [
'url' => [],
'secure_url' => [],
'type' => [],
'width' => [],
'height' => [],
'alt' => [],
],
],
)

Array of properties that can be handled by this manager

Definition at line 39 of file OpenGraphMetaTagManager.php.