You are here

public static function SchemaTypeBase::types in Schema.org Metatag 8

Return a list of object types.

2 calls to SchemaTypeBase::types()
SchemaTypeBase::testValue in src/Plugin/metatag/Tag/SchemaTypeBase.php
Provide a test input value for the property that will validate.
SchemaTypeBase::typeOptions in src/Plugin/metatag/Tag/SchemaTypeBase.php
Turn the list of types into an option list.

File

src/Plugin/metatag/Tag/SchemaTypeBase.php, line 51

Class

SchemaTypeBase
Provides a plugin for the 'schema_type_base' meta tag.

Namespace

Drupal\schema_metatag\Plugin\metatag\Tag

Code

public static function types() {
  $labels = static::labels();
  return array_map('static::removePrefix', $labels);
}