You are here

public function OrganizationController::delete in Apigee Edge 8

File

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

Class

OrganizationController
Definition of the Organization controller service.

Namespace

Drupal\apigee_edge\Entity\Controller

Code

public function delete(string $entity_id) : EntityInterface {
  $entity = $this
    ->decorated()
    ->delete($entity_id);
  unset($this->cache[$entity_id]);
  return $entity;
}