You are here

SchemaRecipeRecipeYield.php in Schema.org Metatag 8

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

File

schema_recipe/src/Plugin/metatag/Tag/SchemaRecipeRecipeYield.php
View source
<?php

namespace Drupal\schema_recipe\Plugin\metatag\Tag;

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

/**
 * Provides a plugin for the 'schema_recipe_recipe_yield' 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_recipe_recipe_yield",
 *   label = @Translation("recipeYield"),
 *   description = @Translation("RECOMMENDED BY GOOGLE. The quantity produced by the recipe (for example, number of people served, number of servings, etc)."),
 *   name = "recipeYield",
 *   group = "schema_recipe",
 *   weight = 2,
 *   type = "string",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 */
class SchemaRecipeRecipeYield extends SchemaNameBase {

}

Classes

Namesort descending Description
SchemaRecipeRecipeYield Provides a plugin for the 'schema_recipe_recipe_yield' meta tag.