public function LockrEncryptionKeyType::__construct in Lockr 4.x
Same name and namespace in other branches
- 8.4 src/Plugin/KeyType/LockrEncryptionKeyType.php \Drupal\lockr\Plugin\KeyType\LockrEncryptionKeyType::__construct()
- 8.3 src/Plugin/KeyType/LockrEncryptionKeyType.php \Drupal\lockr\Plugin\KeyType\LockrEncryptionKeyType::__construct()
Constructs a new LockrEncryptionKeyType.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
Lockr $lockr: The Lockr library client.
File
- src/
Plugin/ KeyType/ LockrEncryptionKeyType.php, line 47
Class
- LockrEncryptionKeyType
- Defines a key type for encryption that generates keys with Lockr.
Namespace
Drupal\lockr\Plugin\KeyTypeCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, Lockr $lockr) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->lockr = $lockr;
}