You are here

class SchemaArticle in Schema.org Metatag 8.2

Same name and namespace in other branches
  1. 8 schema_article/src/Plugin/metatag/Group/SchemaArticle.php \Drupal\schema_article\Plugin\metatag\Group\SchemaArticle

Provides a plugin for the 'Article' meta tag group.

Plugin annotation


@MetatagGroup(
  id = "schema_article",
  label = @Translation("Schema.org: Article"),
  description = @Translation("See Schema.org definitions for this Schema type at <a href="":url"">:url</a>. Also see <a href="":url2"">Google's requirements</a>.", arguments = {
    ":url" = "https://schema.org/Article",
    ":url2" = "https://developers.google.com/search/docs/data-types/article",
  }),
  weight = 10
)

Hierarchy

Expanded class hierarchy of SchemaArticle

File

schema_article/src/Plugin/metatag/Group/SchemaArticle.php, line 20

Namespace

Drupal\schema_article\Plugin\metatag\Group
View source
class SchemaArticle extends SchemaGroupBase {

}

Members

Namesort descending Modifiers Type Description Overrides
GroupBase::$description protected property Description of the group.
GroupBase::$id protected property Machine name of the meta tag group plugin.
GroupBase::$label protected property The name of the group.
GroupBase::description public function This group object's description.
GroupBase::id public function Get this group's internal ID.
GroupBase::isActive public function Whether or not this group is being used.
GroupBase::label public function Get this group's human-friendly name.
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition. 1
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 3
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.
SchemaGroupBase::$schemaMetatag protected property Whether this is structured data.
SchemaGroupBase::schemaMetatag public function Returns whether this is structured data.
SchemaGroupBase::__construct public function Constructs a \Drupal\Component\Plugin\PluginBase object. Overrides GroupBase::__construct