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' meta tag.
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."),
15 * group = "open_graph",
23 class OgImage extends MetaPropertyBase {
24 // Nothing here yet. Just a placeholder class for a plugin.