You are here

public static function SchemaCreativeWorkTrait::creativeWorkObjects in Schema.org Metatag 8

All object types.

Return value

array An array of all possible object types.

1 call to SchemaCreativeWorkTrait::creativeWorkObjects()
SchemaCreativeWorkTrait::creativeWorkForm in src/Plugin/metatag/Tag/SchemaCreativeWorkTrait.php
Create the form element.

File

src/Plugin/metatag/Tag/SchemaCreativeWorkTrait.php, line 148

Class

SchemaCreativeWorkTrait
Schema.org CreativeWork trait.

Namespace

Drupal\schema_metatag\Plugin\metatag\Tag

Code

public static function creativeWorkObjects() {
  return [
    'CreativeWork',
    'Article',
    'Book',
    'Blog',
    'Course',
    'Review',
    'Movie',
    'MusicComposition',
    'MusicPlaylist',
    'MediaObject',
    'Clip',
    'CreativeWorkSeason',
    'TVSeason',
    'CreativeWorkSeries',
    'TVSeries',
    'Episode',
    'WebPage',
    'WebSite',
  ];
}