MetaTagGenerator
Class to add the metatags for the SEO fields in core
Table of Contents
Methods
- generate() : mixed
- Generate the meta tags that can be set in backend and add them to frontend by using the MetaTag API
- generateSocialImages() : array<string|int, mixed>
- processSocialImage() : FileInterface
Methods
generate()
Generate the meta tags that can be set in backend and add them to frontend by using the MetaTag API
public
generate(array<string|int, mixed> $params) : mixed
Parameters
- $params : array<string|int, mixed>
generateSocialImages()
protected
generateSocialImages(array<int, FileReference> $fileReferences) : array<string|int, mixed>
Parameters
- $fileReferences : array<int, FileReference>
Return values
array<string|int, mixed>processSocialImage()
protected
processSocialImage(FileReference $fileReference) : FileInterface
Parameters
- $fileReference : FileReference