You are here

SchemaJobPostingType.php in Schema.org Metatag 8.2

Same filename and directory in other branches
  1. 8 schema_job_posting/src/Plugin/metatag/Tag/SchemaJobPostingType.php

File

schema_job_posting/src/Plugin/metatag/Tag/SchemaJobPostingType.php
View source
<?php

namespace Drupal\schema_job_posting\Plugin\metatag\Tag;

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

/**
 * Provides a plugin for the 'type' 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_job_posting_type",
 *   label = @Translation("@type"),
 *   description = @Translation("REQUIRED. The type of jobPosting."),
 *   name = "@type",
 *   group = "schema_job_posting",
 *   weight = -10,
 *   type = "string",
 *   secure = FALSE,
 *   multiple = FALSE,
 *   property_type = "type",
 *   tree_parent = {
 *     "JobPosting",
 *   },
 *   tree_depth = -1,
 * )
 */
class SchemaJobPostingType extends SchemaNameBase {

}

Classes

Namesort descending Description
SchemaJobPostingType Provides a plugin for the 'type' meta tag.