public function AppCredentialControllerBase::setStatus in Apigee Edge 8
File
- src/
Entity/ Controller/ AppCredentialControllerBase.php, line 240
Class
- AppCredentialControllerBase
- Base class for developer- and company app credential controller services.
Namespace
Drupal\apigee_edge\Entity\ControllerCode
public function setStatus(string $consumer_key, string $status) : void {
$this
->decorated()
->setStatus($consumer_key, $status);
// By removing app from cache we force reload the credentials as well.
$this->appCacheByOwner
->removeEntities([
$this->appName,
]);
}