You are here

PinterestMedia.php in Metatag 8

File

metatag_pinterest/src/Plugin/metatag/Tag/PinterestMedia.php
View source
<?php

namespace Drupal\metatag_pinterest\Plugin\metatag\Tag;

use Drupal\metatag\Plugin\metatag\Tag\MetaPropertyBase;

/**
 * Provides a plugin for the 'pin:media' meta tag.
 *
 * @MetatagTag(
 *   id = "pinterest_media",
 *   label = @Translation("Media"),
 *   description = @Translation("The URL of media which should represent the content."),
 *   name = "pin:media",
 *   group = "pinterest",
 *   weight = 6,
 *   type = "image",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 */
class PinterestMedia extends MetaPropertyBase {

}

Classes

Namesort descending Description
PinterestMedia Provides a plugin for the 'pin:media' meta tag.