public function AsymmetricalEncryptionMethod::checkDependencies in Encrypt 8.3
Check dependencies for the encryption method.
Parameters
string $text: The text to be checked.
string $key: The key to be checked.
Return value
array An array of error messages, providing info on missing dependencies.
Overrides EncryptionMethodInterface::checkDependencies
File
- tests/
modules/ encrypt_test/ src/ Plugin/ EncryptionMethod/ AsymmetricalEncryptionMethod.php, line 25
Class
- AsymmetricalEncryptionMethod
- Encryption-only encryption method, it can NOT decrypt.
Namespace
Drupal\encrypt_test\Plugin\EncryptionMethodCode
public function checkDependencies($text = NULL, $key = NULL) {
$errors = [];
return $errors;
}