public function ServiceEndpoint::loadResourceProviders in Services 9.0.x
Same name and namespace in other branches
- 8.4 src/Entity/ServiceEndpoint.php \Drupal\services\Entity\ServiceEndpoint::loadResourceProviders()
Load service resource providers.
Return value
array An array of \Drupal\services\Entity\ServiceEndpointResource objects.
Overrides ServiceEndpointInterface::loadResourceProviders
1 call to ServiceEndpoint::loadResourceProviders()
- ServiceEndpoint::delete in src/
Entity/ ServiceEndpoint.php - Deletes an entity permanently.
File
- src/
Entity/ ServiceEndpoint.php, line 76
Class
- ServiceEndpoint
- Defines the service endpoint entity.
Namespace
Drupal\services\EntityCode
public function loadResourceProviders() {
return $this
->getResourceStorage()
->loadByProperties([
'service_endpoint_id' => $this
->id(),
]);
}