You are here

SchemaSpecialAnnouncementName.php in Schema.org Metatag 8

File

schema_special_announcement/src/Plugin/metatag/Tag/SchemaSpecialAnnouncementName.php
View source
<?php

namespace Drupal\schema_special_announcement\Plugin\metatag\Tag;

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

/**
 * Provides a plugin for the 'name' 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_special_announcement_name",
 *   label = @Translation("name"),
 *   description = @Translation("The short title of the COVID-19 announcement. For example: 'Stanford announces COVID-19 testing facility'."),
 *   name = "name",
 *   group = "schema_special_announcement",
 *   weight = 0,
 *   type = "string",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 */
class SchemaSpecialAnnouncementName extends SchemaNameBase {

}

Classes

Namesort descending Description
SchemaSpecialAnnouncementName Provides a plugin for the 'name' meta tag.