public function Key::getKeyProvider in Key 8
Returns the configured key provider for the key.
Return value
\Drupal\key\Plugin\KeyProviderInterface The key provider associated with the key.
Overrides KeyInterface::getKeyProvider
2 calls to Key::getKeyProvider()
- Key::deleteKeyValue in src/
Entity/ Key.php - Key::preSave in src/
Entity/ Key.php - Acts on an entity before the presave hook is invoked.
File
- src/
Entity/ Key.php, line 213
Class
- Key
- Defines the Key entity.
Namespace
Drupal\key\EntityCode
public function getKeyProvider() {
return $this
->getPlugin('key_provider');
}