public function DeveloperController::setStatus in Apigee Edge 8
File
- src/
Entity/ Controller/ DeveloperController.php, line 174
Class
- DeveloperController
- Definition of the Developer controller service.
Namespace
Drupal\apigee_edge\Entity\ControllerCode
public function setStatus(string $entity_id, string $status) : void {
$this
->decorated()
->setStatus($entity_id, $status);
// Enforce reload of entity from Apigee Edge.
$this->entityCache
->removeEntities([
$entity_id,
]);
$this->entityCache
->allEntitiesInCache(FALSE);
}