You are here

public function KeyProviderInterface::postSave in Key 8

Allows a key provider to perform actions after a key entity is saved.

Parameters

\Drupal\key\KeyInterface $key: The key entity that was saved.

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object.

bool $update: TRUE if the entity has been updated, or FALSE if it has been inserted.

1 method overrides KeyProviderInterface::postSave()
KeyProviderBase::postSave in src/Plugin/KeyProviderBase.php
Allows a key provider to perform actions after a key entity is saved.

File

src/Plugin/KeyProviderInterface.php, line 47

Class

KeyProviderInterface
Provides an interface for Key Provider plugins.

Namespace

Drupal\key\Plugin

Code

public function postSave(KeyInterface $key, EntityStorageInterface $storage, $update = TRUE);