SchemaRecipeRecipeYield.php in Schema.org Metatag 8
Same filename and directory in other branches
Namespace
Drupal\schema_recipe\Plugin\metatag\TagFile
schema_recipe/src/Plugin/metatag/Tag/SchemaRecipeRecipeYield.phpView 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
Name | Description |
---|---|
SchemaRecipeRecipeYield | Provides a plugin for the 'schema_recipe_recipe_yield' meta tag. |