You are here

public function EncryptionKeyType::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/KeyType/EncryptionKeyType.php, line 27

Class

EncryptionKeyType
Defines a generic key type for encryption.

Namespace

Drupal\key\Plugin\KeyType

Code

public function defaultConfiguration() {
  return [
    'key_size' => 128,
  ];
}