MetaManagerExtension::MetaTags
OVERLOAD MetaTags
Return the title, description, keywords and language metatags.
Signature
public function MetaTags(&
$tags )
Parameters
$tags
—
Returns
- string
- The XHTML metatags
Extend with updateMetaTags, e.g.: public function updateMetaTags(&$tags) { $tags['x-custom-stuff'] => $this->SomethingSpecial(); } Note: You can override tags by key, e.g. $['title'] => $this->MyCustomTitleFunction();
Line | Task |
---|---|
138+ | Move <title> tag in separate getter for easier customization and more obvious usage |