You are here

SchemaCourseCourseCode.php in Schema.org Metatag 8

Same filename and directory in other branches
  1. 8.2 schema_course/src/Plugin/metatag/Tag/SchemaCourseCourseCode.php

File

schema_course/src/Plugin/metatag/Tag/SchemaCourseCourseCode.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_code' 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_code",
 *   label = @Translation("courseCode"),
 *   description = @Translation("The identifier for the Course used by the course provider (e.g. CS101 or 6.001)."),
 *   name = "courseCode",
 *   group = "schema_course",
 *   weight = -30,
 *   type = "string",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 */
class SchemaCourseCourseCode extends SchemaNameBase {

}

Classes

Namesort descending Description
SchemaCourseCourseCode Provides a plugin for the 'schema_course_course_code' meta tag.