public function FileKeyProvider::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/ FileKeyProvider.php, line 29
Class
- FileKeyProvider
- Adds a key provider that allows a key to be stored in a file.
Namespace
Drupal\key\Plugin\KeyProviderCode
public function defaultConfiguration() {
return [
'file_location' => '',
'base64_encoded' => FALSE,
'strip_line_breaks' => FALSE,
];
}