public function EncryptionServiceInterface::getEncryptionKey in Encryption 2.x
Same name and namespace in other branches
- 8 src/EncryptionServiceInterface.php \Drupal\encryption\EncryptionServiceInterface::getEncryptionKey()
Gets the `$settings['encryption_key']` value from settings.php.
Return value
string|null The encryption key or null if validation fails.
File
- src/
EncryptionServiceInterface.php, line 47
Class
- EncryptionServiceInterface
- Interface EncryptionServiceInterface.
Namespace
Drupal\encryptionCode
public function getEncryptionKey();