You are here

public function LockrEncryptionKeyType::defaultConfiguration in Lockr 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/KeyType/LockrEncryptionKeyType.php \Drupal\lockr\Plugin\KeyType\LockrEncryptionKeyType::defaultConfiguration()
  2. 8.2 src/Plugin/KeyType/LockrEncryptionKeyType.php \Drupal\lockr\Plugin\KeyType\LockrEncryptionKeyType::defaultConfiguration()
  3. 4.x src/Plugin/KeyType/LockrEncryptionKeyType.php \Drupal\lockr\Plugin\KeyType\LockrEncryptionKeyType::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides KeyPluginBase::defaultConfiguration

File

src/Plugin/KeyType/LockrEncryptionKeyType.php, line 78

Class

LockrEncryptionKeyType
Defines a key type for encryption that generates keys with Lockr.

Namespace

Drupal\lockr\Plugin\KeyType

Code

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