public static function SchemaMetatagTestType::labels in Schema.org Metatag 8
Return a list of object labels.
This is generally the only method that needs to be extended for type tags. Either return a simple array of types, or prefix the type names with dashes and spaces to indicate their hierarchy. The prefixed dashes and spaces will be removed when creating the raw list of available types.
Overrides SchemaTypeBase::labels
See also
SchemaOrganizationType::labels()
File
- tests/
modules/ schema_metatag_test/ src/ Plugin/ metatag/ Tag/ SchemaMetatagTestType.php, line 27
Class
- SchemaMetatagTestType
- A metatag tag for testing.
Namespace
Drupal\schema_metatag_test\Plugin\metatag\TagCode
public static function labels() {
return [
'Organization',
];
}