You are here

protected function ServiceEndpoint::getResourceStorage in Services 9.0.x

Same name and namespace in other branches
  1. 8.4 src/Entity/ServiceEndpoint.php \Drupal\services\Entity\ServiceEndpoint::getResourceStorage()

Get resource storage object.

Return value

\Drupal\Core\Entity\EntityStorageInterface Resource storage object.

File

src/Entity/ServiceEndpoint.php, line 110

Class

ServiceEndpoint
Defines the service endpoint entity.

Namespace

Drupal\services\Entity

Code

protected function getResourceStorage() {
  return $this
    ->entityTypeManager()
    ->getStorage('service_endpoint_resource');
}