public function ServiceResource::getEndpoint in Services 9.0.x
Same name and namespace in other branches
- 8.4 src/Entity/ServiceResource.php \Drupal\services\Entity\ServiceResource::getEndpoint()
Service endpoint object.
File
- src/
Entity/ ServiceResource.php, line 182
Class
- ServiceResource
- Defines service resource entity.
Namespace
Drupal\services\EntityCode
public function getEndpoint() {
return $this
->entityTypeManager()
->getStorage('service_endpoint')
->load($this->service_endpoint_id);
}