public function LockrEncryptionKeyType::defaultConfiguration in Lockr 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/KeyType/LockrEncryptionKeyType.php \Drupal\lockr\Plugin\KeyType\LockrEncryptionKeyType::defaultConfiguration()
- 8.2 src/Plugin/KeyType/LockrEncryptionKeyType.php \Drupal\lockr\Plugin\KeyType\LockrEncryptionKeyType::defaultConfiguration()
- 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\KeyTypeCode
public function defaultConfiguration() {
return [
'key_size' => 256,
];
}