You are here

SchemaBookAuthor.php in Schema.org Metatag 8

Same filename and directory in other branches
  1. 8.2 schema_book/src/Plugin/metatag/Tag/SchemaBookAuthor.php

File

schema_book/src/Plugin/metatag/Tag/SchemaBookAuthor.php
View source
<?php

namespace Drupal\schema_book\Plugin\metatag\Tag;

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

/**
 * Provides a plugin for the 'author' 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_book_author",
 *   label = @Translation("author"),
 *   description = @Translation("REQUIRED BY GOOGLE. Author of the book."),
 *   name = "author",
 *   group = "schema_book",
 *   weight = 5,
 *   type = "string",
 *   secure = FALSE,
 *   multiple = TRUE
 * )
 */
class SchemaBookAuthor extends SchemaPersonOrgBase {

}

Classes

Namesort descending Description
SchemaBookAuthor Provides a plugin for the 'author' meta tag.