public function GenerateKeyInput::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/ KeyInput/ GenerateKeyInput.php, line 22
Class
- GenerateKeyInput
- Defines a key input that generates a key value.
Namespace
Drupal\key\Plugin\KeyInputCode
public function defaultConfiguration() {
return [
'generated' => FALSE,
'display_once' => TRUE,
];
}