Loading config/schema/schema_publication_issue.metatag_tag.schema.yml +3 −0 Original line number Diff line number Diff line Loading @@ -53,3 +53,6 @@ metatag.metatag_tag.schema_publication_issue_publisher: metatag.metatag_tag.schema_publication_issue_type: type: string label: '@type' metatag.metatag_tag.norden_schema_identifier: type: text label: 'identifier' src/Plugin/metatag/Tag/SchemaPublicationIssueIdentifier.php 0 → 100644 +31 −0 Original line number Diff line number Diff line <?php namespace Drupal\schema_publication_issue\Plugin\metatag\Tag; use Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase; /** * Provides a plugin for the 'schema_publication_issue_identifier' 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_publication_issue_identifier", * label = @Translation("identifier"), * description = @Translation("The internal identifier of the publication issue (usually node:id)."), * name = "identifier", * group = "schema_publication_issue", * weight = -5, * type = "string", * secure = FALSE, * multiple = FALSE, * property_type = "text", * tree_parent = {}, * tree_depth = -1, * ) */ class SchemaPublicationIssueIdentifier extends SchemaNameBase { } Loading
config/schema/schema_publication_issue.metatag_tag.schema.yml +3 −0 Original line number Diff line number Diff line Loading @@ -53,3 +53,6 @@ metatag.metatag_tag.schema_publication_issue_publisher: metatag.metatag_tag.schema_publication_issue_type: type: string label: '@type' metatag.metatag_tag.norden_schema_identifier: type: text label: 'identifier'
src/Plugin/metatag/Tag/SchemaPublicationIssueIdentifier.php 0 → 100644 +31 −0 Original line number Diff line number Diff line <?php namespace Drupal\schema_publication_issue\Plugin\metatag\Tag; use Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase; /** * Provides a plugin for the 'schema_publication_issue_identifier' 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_publication_issue_identifier", * label = @Translation("identifier"), * description = @Translation("The internal identifier of the publication issue (usually node:id)."), * name = "identifier", * group = "schema_publication_issue", * weight = -5, * type = "string", * secure = FALSE, * multiple = FALSE, * property_type = "text", * tree_parent = {}, * tree_depth = -1, * ) */ class SchemaPublicationIssueIdentifier extends SchemaNameBase { }