SchemaImageObjectWidth.php in Schema.org Metatag 8.2
Same filename and directory in other branches
File
schema_image_object/src/Plugin/metatag/Tag/SchemaImageObjectWidth.phpView source
<?php
namespace Drupal\schema_image_object\Plugin\metatag\Tag;
use Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase;
/**
* Provides a plugin for the 'schema_image_object_width' 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_image_object_width",
* label = @Translation("width"),
* description = @Translation("The width of the image."),
* name = "width",
* group = "schema_image_object",
* weight = 5,
* type = "string",
* secure = FALSE,
* multiple = TRUE,
* property_type = "number",
* tree_parent = {},
* tree_depth = -1,
* )
*/
class SchemaImageObjectWidth extends SchemaNameBase {
}
Classes
Name | Description |
---|---|
SchemaImageObjectWidth | Provides a plugin for the 'schema_image_object_width' meta tag. |