You are here

OgVideoDuration.php in Metatag 8

File

metatag_open_graph/src/Plugin/metatag/Tag/OgVideoDuration.php
View source
<?php

namespace Drupal\metatag_open_graph\Plugin\metatag\Tag;

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

/**
 * Provides a plugin for the 'og:video:duration' meta tag.
 *
 * @MetatagTag(
 *   id = "og_video_duration",
 *   label = @Translation("Video duration (seconds)"),
 *   description = @Translation("The length of the video in seconds"),
 *   name = "og:video:duration",
 *   group = "open_graph",
 *   weight = 15,
 *   type = "integer",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 */
class OgVideoDuration extends MetaPropertyBase {

}

Classes

Namesort descending Description
OgVideoDuration Provides a plugin for the 'og:video:duration' meta tag.