You are here

SchemaOrganizationId.php in Schema.org Metatag 8

File

schema_organization/src/Plugin/metatag/Tag/SchemaOrganizationId.php
View source
<?php

namespace Drupal\schema_organization\Plugin\metatag\Tag;

use Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase;

/**
 * Provides a plugin for the 'schema_organization_id' 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_organization_id",
 *   label = @Translation("@id"),
 *   description = @Translation("REQUIRED BY GOOGLE. Globally unique @id, usually a url, used to to link other properties to this object."),
 *   name = "@id",
 *   group = "schema_organization",
 *   weight = -1,
 *   type = "string",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 */
class SchemaOrganizationId extends SchemaNameBase {

}

Classes

Namesort descending Description
SchemaOrganizationId Provides a plugin for the 'schema_organization_id' meta tag.