You are here

public function ClientAuthorizationPluginBase::getStorageKey in Entity Share 8.3

Returns the plugin data if it is set, otherwise returns NULL.

Return value

mixed|null The data.

Overrides ClientAuthorizationInterface::getStorageKey

1 call to ClientAuthorizationPluginBase::getStorageKey()
ClientAuthorizationPluginBase::expandedProviderOptions in modules/entity_share_client/src/ClientAuthorization/ClientAuthorizationPluginBase.php
Helper method to build the credential provider elements of the form.

File

modules/entity_share_client/src/ClientAuthorization/ClientAuthorizationPluginBase.php, line 129

Class

ClientAuthorizationPluginBase
Base class for Client authorization plugins.

Namespace

Drupal\entity_share_client\ClientAuthorization

Code

public function getStorageKey() {
  $configuration = $this
    ->getConfiguration();
  return $configuration['data']['storage_key'] ?? NULL;
}