function CollectResourceObjectMetaEvent::getContext
Same name and namespace in other branches
- 11.x core/modules/jsonapi/src/Events/CollectResourceObjectMetaEvent.php \Drupal\jsonapi\Events\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\EventsCode
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.