3 namespace Drupal\metatag_open_graph\Plugin\metatag\Tag;
5 use Drupal\metatag\Plugin\metatag\Tag\MetaPropertyBase;
8 * Provides a plugin for the 'og:image:type' meta tag.
11 * id = "og_image_type",
12 * label = @Translation("Image type"),
13 * description = @Translation("The type of image referenced above. Should be either 'image/gif' for a GIF image, 'image/jpeg' for a JPG/JPEG image, or 'image/png' for a PNG image. Note: there should be one value for each image, and having more than there are images may cause problems."),
14 * name = "og:image:type",
15 * group = "open_graph",
22 class OgImageType extends MetaPropertyBase {
23 // Nothing here yet. Just a placeholder class for a plugin.