class SchemaMovie in Schema.org Metatag 8
Same name and namespace in other branches
- 8.2 schema_movie/src/Plugin/metatag/Group/SchemaMovie.php \Drupal\schema_movie\Plugin\metatag\Group\SchemaMovie
Provides a plugin for the 'Movie' meta tag group.
Plugin annotation
@MetatagGroup(
id = "schema_movie",
label = @Translation("Schema.org: Movie, Series, Season, Episode"),
description = @Translation("See Schema.org definitions for this Schema type at <a href="":url"">:url</a>, <a href="":url2"">:url2</a>, <a href="":url3"">:url3</a>, <a href="":url4"">:url4</a>. Also see <a href="":url5"">Google's requirements</a>.", arguments = {
":url" = "https://schema.org/Movie",
":url2" = "https://schema.org/Series",
":url3" = "https://schema.org/CreativeWorkSeason",
":url4" = "https://schema.org/Episode",
":url5" = "https://developers.google.com/search/docs/data-types/movie",
}),
weight = 10,
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\metatag\Plugin\metatag\Group\GroupBase
- class \Drupal\schema_metatag\Plugin\metatag\Group\SchemaGroupBase
- class \Drupal\schema_movie\Plugin\metatag\Group\SchemaMovie
- class \Drupal\schema_metatag\Plugin\metatag\Group\SchemaGroupBase
- class \Drupal\metatag\Plugin\metatag\Group\GroupBase
Expanded class hierarchy of SchemaMovie
File
- schema_movie/
src/ Plugin/ metatag/ Group/ SchemaMovie.php, line 23
Namespace
Drupal\schema_movie\Plugin\metatag\GroupView source
class SchemaMovie extends SchemaGroupBase {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GroupBase:: |
protected | property | Description of the group. | |
GroupBase:: |
protected | property | Machine name of the meta tag group plugin. | |
GroupBase:: |
protected | property | The name of the group. | |
GroupBase:: |
public | function | This group object's description. | |
GroupBase:: |
public | function | Get this group's internal ID. | |
GroupBase:: |
public | function | Whether or not this group is being used. | |
GroupBase:: |
public | function | Get this group's human-friendly name. | |
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
3 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
SchemaGroupBase:: |
protected | property | Whether this is structured data. | |
SchemaGroupBase:: |
public | function | Returns whether this is structured data. | |
SchemaGroupBase:: |
public | function |
Constructs a \Drupal\Component\Plugin\PluginBase object. Overrides GroupBase:: |