You are here

public function EnvKeyProvider::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/EnvKeyProvider.php, line 29

Class

EnvKeyProvider
A key provider that allows a key to be stored in an environment variable.

Namespace

Drupal\key\Plugin\KeyProvider

Code

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