You are here

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

Class

TextFieldKeyInput
Defines a key input that provides a simple text field.

Namespace

Drupal\key\Plugin\KeyInput

Code

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