SchemaMetatagTestType.php in Schema.org Metatag 8
Same filename and directory in other branches
File
tests/modules/schema_metatag_test/src/Plugin/metatag/Tag/SchemaMetatagTestType.phpView 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
Name | Description |
---|---|
SchemaMetatagTestType | A metatag tag for testing. |