You are here

public function MutliValueKeyInput::defaultConfiguration in Key 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides KeyPluginBase::defaultConfiguration

File

tests/modules/key_test/src/Plugin/KeyInput/MutliValueKeyInput.php, line 21

Class

MutliValueKeyInput
Defines a multi-value key input class.

Namespace

Drupal\key_test\Plugin\KeyInput

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'first' => '',
    'second' => '',
  ];
}