You are here

public static function SchemaWebSiteType::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_web_site/src/Plugin/metatag/Tag/SchemaWebSiteType.php, line 31

Class

SchemaWebSiteType
Provides a plugin for the 'schema_web_page_type' meta tag.

Namespace

Drupal\schema_web_site\Plugin\metatag\Tag

Code

public static function labels() {
  return [
    'WebSite',
  ];
}