You are here

SchemaVideoObjectUploadDate.php in Schema.org Metatag 8

File

schema_video_object/src/Plugin/metatag/Tag/SchemaVideoObjectUploadDate.php
View source
<?php

namespace Drupal\schema_video_object\Plugin\metatag\Tag;

use Drupal\schema_metatag\Plugin\metatag\Tag\SchemaDateBase;

/**
 * Provides a plugin for the 'schema_video_object_upload_date' meta tag.
 *
 * - 'id' should be a globally unique id.
 * - 'name' should match the Schema.org element name.
 * - 'group' should match the id of the group that defines the Schema.org type.
 *
 * @MetatagTag(
 *   id = "schema_video_object_upload_date",
 *   label = @Translation("uploadDate"),
 *   description = @Translation("REQUIRED BY GOOGLE. The date the video was first published, in ISO 8601 format."),
 *   name = "uploadDate",
 *   group = "schema_video_object",
 *   weight = -1,
 *   type = "string",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 */
class SchemaVideoObjectUploadDate extends SchemaDateBase {

}

Classes

Namesort descending Description
SchemaVideoObjectUploadDate Provides a plugin for the 'schema_video_object_upload_date' meta tag.