3 namespace Drupal\metatag\Plugin\metatag\Tag;
6 * The standard page title.
10 * label = @Translation("Page title"),
11 * description = @Translation("The text to display in the title bar of a visitor's web browser when they view this page. This meta tag may also be used as the title of the page when a visitor bookmarks or favorites this page, or as the page title in a search engine result. It is common to append '[site:name]' to the end of this, so the site's name is automatically added. It is recommended that the title is no greater than 55 - 65 characters long, including spaces."),
20 class Title extends MetaNameBase {
23 * Override the output of this tag so it's an actual TITLE tag.
25 * @todo Override the existing title tag X-)
27 // public function output() {
28 // if (empty($this->value)) {
29 // // If there is no value, we don't want a tag output.
34 // '#theme' => 'hidden',
35 // // '#tag' => 'title',
36 // '#value' => $this->value(),