You are here

public function KeyProviderRequirementsInterface::checkRequirements in Apigee Edge 8

Checks the requirements of the key provider.

Parameters

\Drupal\key\KeyInterface $key: The key entity.

Throws

\Drupal\apigee_edge\Exception\KeyProviderRequirementsException Exception thrown when the requirements of the key provider are not fulfilled.

2 calls to KeyProviderRequirementsInterface::checkRequirements()
KeyProviderRequirementsBase::getKeyValue in src/Plugin/KeyProvider/KeyProviderRequirementsBase.php
Returns the value of a key.
KeyProviderRequirementsBase::validateConfigurationForm in src/Plugin/KeyProvider/KeyProviderRequirementsBase.php
2 methods override KeyProviderRequirementsInterface::checkRequirements()
EnvironmentVariablesKeyProvider::checkRequirements in src/Plugin/KeyProvider/EnvironmentVariablesKeyProvider.php
Checks the requirements of the key provider.
PrivateFileKeyProvider::checkRequirements in src/Plugin/KeyProvider/PrivateFileKeyProvider.php
Checks the requirements of the key provider.

File

src/Plugin/KeyProviderRequirementsInterface.php, line 39

Class

KeyProviderRequirementsInterface
Interface for checking the key provider's requirements.

Namespace

Drupal\apigee_edge\Plugin

Code

public function checkRequirements(KeyInterface $key) : void;