function CollectResourceObjectMetaEvent::getResourceObject
Gets the resource object.
Return value
\Drupal\jsonapi\JsonApiResource\ResourceObject The resource object.
File
-
core/
modules/ jsonapi/ src/ Events/ CollectResourceObjectMetaEvent.php, line 56
Class
- CollectResourceObjectMetaEvent
- Event for collecting resource object metadata of a JSON:API resource types.
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.