You are here

public function ConfigKeyProvider::defaultConfiguration in Key 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides KeyPluginBase::defaultConfiguration

File

src/Plugin/KeyProvider/ConfigKeyProvider.php, line 31

Class

ConfigKeyProvider
Adds a key provider that allows a key to be stored in configuration.

Namespace

Drupal\key\Plugin\KeyProvider

Code

public function defaultConfiguration() {
  return [
    'base64_encoded' => FALSE,
  ];
}