function CollectRelationshipMetaEvent::getResourceObject
Gets the resource object.
Return value
\Drupal\jsonapi\JsonApiResource\ResourceObject The resource object.
File
-
core/
modules/ jsonapi/ src/ Events/ CollectRelationshipMetaEvent.php, line 52
Class
- CollectRelationshipMetaEvent
- Event for collecting the relationship metadata of a JSON:API resource object.
Namespace
Drupal\jsonapi\EventsCode
public function getResourceObject() : ResourceObject {
return $this->resourceObject;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.