You are here

SchemaCourseCoursePrerequisites.php in Schema.org Metatag 8

File

schema_course/src/Plugin/metatag/Tag/SchemaCourseCoursePrerequisites.php
View source
<?php

namespace Drupal\schema_course\Plugin\metatag\Tag;

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

/**
 * Provides a plugin for the 'schema_course_course_prerequisites' 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_course_course_prerequisites",
 *   label = @Translation("coursePrerequisites"),
 *   description = @Translation("Requirements for taking the Course."),
 *   name = "coursePrerequisites",
 *   group = "schema_course",
 *   weight = -25,
 *   type = "string",
 *   secure = FALSE,
 *   multiple = TRUE
 * )
 */
class SchemaCourseCoursePrerequisites extends SchemaNameBase {

}

Classes

Namesort descending Description
SchemaCourseCoursePrerequisites Provides a plugin for the 'schema_course_course_prerequisites' meta tag.