You are here

public function EncryptionMethodInterface::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.

3 methods override EncryptionMethodInterface::checkDependencies()
AsymmetricalEncryptionMethod::checkDependencies in tests/modules/encrypt_test/src/Plugin/EncryptionMethod/AsymmetricalEncryptionMethod.php
Check dependencies for the encryption method.
ConfigTestEncryptionMethod::checkDependencies in tests/modules/encrypt_test/src/Plugin/EncryptionMethod/ConfigTestEncryptionMethod.php
Check dependencies for the encryption method.
TestEncryptionMethod::checkDependencies in tests/modules/encrypt_test/src/Plugin/EncryptionMethod/TestEncryptionMethod.php
Check dependencies for the encryption method.

File

src/EncryptionMethodInterface.php, line 60

Class

EncryptionMethodInterface
Provides an interface for EncryptionMethod plugins.

Namespace

Drupal\encrypt

Code

public function checkDependencies($text = NULL, $key = NULL);