ac039318bca278b8bb6506a55113576b3a0ddac4
[yaffs-website] / web / modules / contrib / metatag / metatag_open_graph / src / Plugin / metatag / Tag / OgImageType.php
1 <?php
2
3 namespace Drupal\metatag_open_graph\Plugin\metatag\Tag;
4
5 use Drupal\metatag\Plugin\metatag\Tag\MetaPropertyBase;
6
7 /**
8  * Provides a plugin for the 'og:image:type' meta tag.
9  *
10  * @MetatagTag(
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",
16  *   weight = 12,
17  *   type = "string",
18  *   secure = FALSE,
19  *   multiple = FALSE
20  * )
21  */
22 class OgImageType extends MetaPropertyBase {
23   // Nothing here yet. Just a placeholder class for a plugin.
24 }