You are here

SchemaMetatagTestType.php in Schema.org Metatag 8

File

tests/modules/schema_metatag_test/src/Plugin/metatag/Tag/SchemaMetatagTestType.php
View source
<?php

namespace Drupal\schema_metatag_test\Plugin\metatag\Tag;

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

/**
 * A metatag tag for testing.
 *
 * @MetatagTag(
 *   id = "schema_metatag_test_type",
 *   label = @Translation("Schema Metatag Test Type"),
 *   name = "@type",
 *   description = @Translation("Test element"),
 *   group = "schema_metatag_test_group",
 *   weight = 0,
 *   type = "label",
 *   secure = FALSE,
 *   multiple = FALSE
 * )
 */
class SchemaMetatagTestType extends SchemaTypeBase {

  /**
   * {@inheritdoc}
   */
  public static function labels() {
    return [
      'Organization',
    ];
  }

}

Classes

Namesort descending Description
SchemaMetatagTestType A metatag tag for testing.