
| Current Path : /var/www/html1/testsite/web/modules/contrib/metatag/src/Plugin/metatag/Tag/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html1/testsite/web/modules/contrib/metatag/src/Plugin/metatag/Tag/Description.php |
<?php
namespace Drupal\metatag\Plugin\metatag\Tag;
/**
* The basic "Description" meta tag.
*
* @MetatagTag(
* id = "description",
* label = @Translation("Description"),
* description = @Translation("A brief and concise summary of the page's content that is a maximum of 160 characters in length. The description meta tag may be used by search engines to display a snippet about the page in search results."),
* name = "description",
* group = "basic",
* weight = 2,
* type = "label",
* secure = FALSE,
* multiple = FALSE,
* long = TRUE,
* )
*/
class Description extends MetaNameBase {
/**
* {@inheritdoc}
*/
public function form(array $element = []) {
$form = parent::form($element);
$form['#maxlength'] = 320;
return $form;
}
}