4402ae5da97cf673b0bcb8f74d315cb78125e75c
[yaffs-website] / web / modules / contrib / metatag / metatag_open_graph / src / Plugin / metatag / Tag / OgImage.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' meta tag.
9  *
10  * @MetatagTag(
11  *   id = "og_image",
12  *   label = @Translation("Image"),
13  *   description = @Translation("The URL of an image which should represent the content. The image must be at least 200 x 200 pixels in size; 600 x 316 pixels is a recommended minimum size, and for best results use an image least 1200 x 630 pixels in size. Supports PNG, JPEG and GIF formats. Should not be used if og:image:url is used. Note: if multiple images are added many services (e.g. Facebook) will default to the largest image, not specifically the first one."),
14  *   name = "og:image",
15  *   group = "open_graph",
16  *   weight = 9,
17  *   type = "image",
18  *   secure = FALSE,
19  *   multiple = TRUE,
20  *   absolute_url = TRUE
21  * )
22  */
23 class OgImage extends MetaPropertyBase {
24   // Nothing here yet. Just a placeholder class for a plugin.
25 }