Wikibase
MediaWiki Wikibase extension
|
Default Class for creating meta tags. More...
Public Member Functions | |
getMetaTags (EntityDocument $entity) | |
Creates an entity meta tags array with keys as follows: array['title'] string The title set as the EntityID if it exists. | |
Default Class for creating meta tags.
To be used in the absence of a specific EntityMetaTagsCreator Always returns the title meta tag set to the EntityID without a description
Wikibase\View\DefaultMetaTagsCreator::getMetaTags | ( | EntityDocument | $entity | ) |
Creates an entity meta tags array with keys as follows: array['title'] string The title set as the EntityID if it exists.
EntityDocument | $entity |
Implements Wikibase\View\EntityMetaTagsCreator.