You are here

public function AppCredentialControllerBase::deleteAttribute in Apigee Edge 8

File

src/Entity/Controller/AppCredentialControllerBase.php, line 170

Class

AppCredentialControllerBase
Base class for developer- and company app credential controller services.

Namespace

Drupal\apigee_edge\Entity\Controller

Code

public function deleteAttribute(string $entity_id, string $name) : void {
  $this
    ->decorated()
    ->deleteAttribute($entity_id, $name);

  // By removing app from cache we force reload the credentials as well.
  $this->appCacheByOwner
    ->removeEntities([
    $this->appName,
  ]);
}