You are here

protected static property LinkProviderManager::$contextTypes in JSON:API Hypermedia 8

A map of plugin definition context types to class and interface names.

Type: array

File

src/Plugin/LinkProviderManager.php, line 38

Class

LinkProviderManager
Manages discovery and instantiation of resourceFieldEnhancer plugins.

Namespace

Drupal\jsonapi_hypermedia\Plugin

Code

protected static $contextTypes = [
  'top_level_object' => JsonApiDocumentTopLevel::class,
  'resource_object' => ResourceObject::class,
  'relationship_object' => Relationship::class,
];