public function LockrKeyProvider::deleteKeyValue in Lockr 4.x
Same name and namespace in other branches
- 8.4 src/Plugin/KeyProvider/LockrKeyProvider.php \Drupal\lockr\Plugin\KeyProvider\LockrKeyProvider::deleteKeyValue()
- 8.2 src/Plugin/KeyProvider/LockrKeyProvider.php \Drupal\lockr\Plugin\KeyProvider\LockrKeyProvider::deleteKeyValue()
- 8.3 src/Plugin/KeyProvider/LockrKeyProvider.php \Drupal\lockr\Plugin\KeyProvider\LockrKeyProvider::deleteKeyValue()
File
- src/
Plugin/ KeyProvider/ LockrKeyProvider.php, line 236 - Contains Drupal\lockr\Plugin\KeyProvider\LockrKeyProvider.
Class
- LockrKeyProvider
- Adds a key provider that allows a key to be stored in Lockr.
Namespace
Drupal\lockr\Plugin\KeyProviderCode
public function deleteKeyValue(KeyInterface $key) {
$this->lockr
->deleteSecretValue($key
->id());
return TRUE;
}