public static function SchemaBookType::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
- schema_book/
src/ Plugin/ metatag/ Tag/ SchemaBookType.php, line 31
Class
- SchemaBookType
- Provides a plugin for the 'schema_book_type' meta tag.
Namespace
Drupal\schema_book\Plugin\metatag\TagCode
public static function labels() {
return [
'Book',
];
}