function CollectResourceObjectMetaEvent::getContext

Gets context options for the normalizer.

Return value

array The context options for the normalizer.

File

core/modules/jsonapi/src/Events/CollectResourceObjectMetaEvent.php, line 66

Class

CollectResourceObjectMetaEvent
Event for collecting resource object metadata of a JSON:API resource types.

Namespace

Drupal\jsonapi\Events

Code

public function getContext() : array {
    return $this->context;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.