SchemaEventOrganizer.php in Schema.org Metatag 8.2
Same filename and directory in other branches
Namespace
Drupal\schema_event\Plugin\metatag\TagFile
schema_event/src/Plugin/metatag/Tag/SchemaEventOrganizer.phpView source
<?php
namespace Drupal\schema_event\Plugin\metatag\Tag;
use Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase;
/**
* Provides a plugin for the 'organizer' 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_event_organizer",
* label = @Translation("organizer"),
* description = @Translation("RECOMMENDED BY GOOGLE. The organizer of the event."),
* name = "organizer",
* group = "schema_event",
* weight = 10,
* type = "string",
* secure = FALSE,
* multiple = FALSE,
* property_type = "organization",
* tree_parent = {
* "Person",
* "Organization",
* },
* tree_depth = 0,
* )
*/
class SchemaEventOrganizer extends SchemaNameBase {
}
Classes
Name![]() |
Description |
---|---|
SchemaEventOrganizer | Provides a plugin for the 'organizer' meta tag. |