SchemaMovieDuration.php in Schema.org Metatag 8
Same filename and directory in other branches
Namespace
Drupal\schema_movie\Plugin\metatag\TagFile
schema_movie/src/Plugin/metatag/Tag/SchemaMovieDuration.phpView source
<?php
namespace Drupal\schema_movie\Plugin\metatag\Tag;
use Drupal\schema_metatag\Plugin\metatag\Tag\SchemaDurationBase;
/**
* Provides a plugin for the 'schema_movie_duration' 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_movie_duration",
* label = @Translation("duration"),
* description = @Translation("RECOMMENDED for Movie. Runtime of the work in ISO 8601 format (for example, 'PT2H22M' (142 minutes))."),
* name = "duration",
* group = "schema_movie",
* weight = 3,
* type = "string",
* secure = FALSE,
* multiple = FALSE
* )
*/
class SchemaMovieDuration extends SchemaDurationBase {
}
Classes
Name | Description |
---|---|
SchemaMovieDuration | Provides a plugin for the 'schema_movie_duration' meta tag. |