You are here

public function TestEncryptionMethod::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/TestEncryptionMethod.php, line 23

Class

TestEncryptionMethod
TestEncryptionMethod testing class.

Namespace

Drupal\encrypt_test\Plugin\EncryptionMethod

Code

public function checkDependencies($text = NULL, $key = NULL) {
  $errors = [];
  return $errors;
}