‪TYPO3CMS  ‪main
TYPO3\CMS\Seo\MetaTag\MetaTagGenerator Class Reference

Public Member Functions

 __construct (protected MetaTagManagerRegistry $metaTagManagerRegistry, protected ImageService $imageService)
 
 generate (array $params)
 

Protected Member Functions

 generateSocialImages (array $fileReferences)
 
 processSocialImage (FileReference $fileReference)
 

Detailed Description

Class to add the metatags for the SEO fields in core

Definition at line 35 of file MetaTagGenerator.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Seo\MetaTag\MetaTagGenerator::__construct ( protected MetaTagManagerRegistry  $metaTagManagerRegistry,
protected ImageService  $imageService 
)

Definition at line 37 of file MetaTagGenerator.php.

Member Function Documentation

◆ generate()

TYPO3\CMS\Seo\MetaTag\MetaTagGenerator::generate ( array  $params)

Generate the meta tags that can be set in backend and add them to frontend by using the MetaTag API

Definition at line 45 of file MetaTagGenerator.php.

References TYPO3\CMS\Seo\MetaTag\MetaTagGenerator\generateSocialImages().

◆ generateSocialImages()

TYPO3\CMS\Seo\MetaTag\MetaTagGenerator::generateSocialImages ( array  $fileReferences)
protected
Parameters
list<FileReference>‪$fileReferences

Definition at line 135 of file MetaTagGenerator.php.

References TYPO3\CMS\Seo\MetaTag\MetaTagGenerator\processSocialImage().

Referenced by TYPO3\CMS\Seo\MetaTag\MetaTagGenerator\generate().

◆ processSocialImage()