You are here

public function KeyPluginBase::defaultConfiguration in Key 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

3 calls to KeyPluginBase::defaultConfiguration()
KeyPluginBase::__construct in src/Plugin/KeyPluginBase.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
MutliValueKeyInput::defaultConfiguration in tests/modules/key_test/src/Plugin/KeyInput/MutliValueKeyInput.php
Gets default configuration for this plugin.
State::defaultConfiguration in tests/modules/key_test/src/Plugin/KeyProvider/State.php
Gets default configuration for this plugin.
8 methods override KeyPluginBase::defaultConfiguration()
ConfigKeyProvider::defaultConfiguration in src/Plugin/KeyProvider/ConfigKeyProvider.php
Gets default configuration for this plugin.
EncryptionKeyType::defaultConfiguration in src/Plugin/KeyType/EncryptionKeyType.php
Gets default configuration for this plugin.
EnvKeyProvider::defaultConfiguration in src/Plugin/KeyProvider/EnvKeyProvider.php
Gets default configuration for this plugin.
FileKeyProvider::defaultConfiguration in src/Plugin/KeyProvider/FileKeyProvider.php
Gets default configuration for this plugin.
GenerateKeyInput::defaultConfiguration in src/Plugin/KeyInput/GenerateKeyInput.php
Gets default configuration for this plugin.

... See full list

File

src/Plugin/KeyPluginBase.php, line 44

Class

KeyPluginBase
Defines a base class for all Key plugins.

Namespace

Drupal\key\Plugin

Code

public function defaultConfiguration() {
  return [];
}