You are here

SchemaPlaceImage.php in Schema.org Metatag 8.2

Same filename and directory in other branches
  1. 8 schema_place/src/Plugin/metatag/Tag/SchemaPlaceImage.php

File

schema_place/src/Plugin/metatag/Tag/SchemaPlaceImage.php
View source
<?php

namespace Drupal\schema_place\Plugin\metatag\Tag;

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

/**
 * Provides a plugin for the 'image' 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_place_image",
 *   label = @Translation("image"),
 *   description = @Translation("The primary image for this item."),
 *   name = "image",
 *   group = "schema_place",
 *   weight = 2,
 *   type = "image",
 *   secure = FALSE,
 *   multiple = FALSE,
 *   property_type = "image_object",
 *   tree_parent = {
 *     "ImageObject",
 *   },
 *   tree_depth = 0,
 * )
 */
class SchemaPlaceImage extends SchemaNameBase {

}

Classes

Namesort descending Description
SchemaPlaceImage Provides a plugin for the 'image' meta tag.