cc794fae7fc0a4aa562eb4b72fbf74a0ae03eb4b
[yaffs-website] / TwitterCardsImage.php
1 <?php
2
3 namespace Drupal\metatag_twitter_cards\Plugin\metatag\Tag;
4
5 use Drupal\metatag\Plugin\metatag\Tag\MetaNameBase;
6
7 /**
8  * The Twitter Cards image metatag.
9  *
10  * @MetatagTag(
11  *   id = "twitter_cards_image",
12  *   label = @Translation("Image URL"),
13  *   description = @Translation("The URL to a unique image representing the content of the page. Do not use a generic image such as your website logo, author photo, or other image that spans multiple pages. Images larger than 120x120px will be resized and cropped square based on longest dimension. Images smaller than 60x60px will not be shown. If the 'type' is set to Photo then the image must be at least 280x150px. This will be able to extract the URL from an image field."),
14  *   name = "twitter:image",
15  *   group = "twitter_cards",
16  *   weight = 7,
17  *   type = "image",
18  *   secure = FALSE,
19  *   multiple = FALSE
20  * )
21  */
22 class TwitterCardsImage extends MetaNameBase {
23 }