SchemaSpecialAnnouncementCategory.php in Schema.org Metatag 8
Same filename and directory in other branches
File
schema_special_announcement/src/Plugin/metatag/Tag/SchemaSpecialAnnouncementCategory.phpView source
<?php
namespace Drupal\schema_special_announcement\Plugin\metatag\Tag;
use Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase;
/**
* Provides a plugin for the 'category' meta tag.
*
* - 'id' should be a globally unique id.
* - 'name' should match the Schema.org element name.
* - 'group' should match the id of the group that defines the Schema.org type.
*
* @MetatagTag(
* id = "schema_special_announcement_category",
* label = @Translation("Category"),
* description = @Translation("The URL that describes the category for the special announcement. Set the category to the Wikipedia page for COVID-19: https://www.wikidata.org/wiki/Q81068910."),
* name = "category",
* group = "schema_special_announcement",
* weight = 2,
* type = "string",
* secure = FALSE,
* multiple = TRUE
* )
*/
class SchemaSpecialAnnouncementCategory extends SchemaNameBase {
}
Classes
Name![]() |
Description |
---|---|
SchemaSpecialAnnouncementCategory | Provides a plugin for the 'category' meta tag. |