‪TYPO3CMS  9.5
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='')
 
array getAllHandledProperties ()
 
array getProperty (string $property, string $type='')
 
string renderProperty (string $property)
 
string renderAllProperties ()
 
 removeProperty (string $property, string $type='')
 
 removeAllProperties ()
 
bool canHandleProperty (string $property)
 

Detailed Description

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

Definition at line 24 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 32 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 38 of file OpenGraphMetaTagManager.php.