You are here

public function ClientAuthorizationPluginBase::defaultConfiguration in Entity Share 8.3

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

1 call to ClientAuthorizationPluginBase::defaultConfiguration()
ClientAuthorizationPluginBase::setConfiguration in modules/entity_share_client/src/ClientAuthorization/ClientAuthorizationPluginBase.php
Sets the configuration for this plugin instance.

File

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

Class

ClientAuthorizationPluginBase
Base class for Client authorization plugins.

Namespace

Drupal\entity_share_client\ClientAuthorization

Code

public function defaultConfiguration() {
  return [
    'uuid' => $this->uuid
      ->generate(),
    'data' => [],
  ];
}