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