You are here

SchemaOrganizationTelephone.php in Schema.org Metatag 8

File

schema_organization/src/Plugin/metatag/Tag/SchemaOrganizationTelephone.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_telephone' 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_telephone",
 *   label = @Translation("telephone"),
 *   description = @Translation("RECOMMENDED BY GOOGLE. A business phone number meant to be the primary contact method for customers. Be sure to include the country code and area code in the phone number."),
 *   name = "telephone",
 *   group = "schema_organization",
 *   weight = 1.1,
 *   type = "string",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 */
class SchemaOrganizationTelephone extends SchemaNameBase {

}

Classes

Namesort descending Description
SchemaOrganizationTelephone Provides a plugin for the 'schema_organization_telephone' meta tag.