You are here

public function OrganizationController::load in Apigee Edge 8

File

src/Entity/Controller/OrganizationController.php, line 113

Class

OrganizationController
Definition of the Organization controller service.

Namespace

Drupal\apigee_edge\Entity\Controller

Code

public function load(string $entity_id) : EntityInterface {
  if (!isset($this->cache[$entity_id])) {
    $this->cache[$entity_id] = $this
      ->decorated()
      ->load($entity_id);
  }
  return $this->cache[$entity_id];
}