function _encrypt_test_method_dependencies in Encrypt 7.2
Same name and namespace in other branches
- 7.3 tests/plugins/encryption_methods/test.inc \_encrypt_test_method_dependencies()
Dependency callback.
Can be forced to trigger failure/success with a variable.
1 string reference to '_encrypt_test_method_dependencies'
File
- tests/
plugins/ encryption_methods/ test.inc, line 31
Code
function _encrypt_test_method_dependencies() {
$errors = array();
if (variable_get('encrypt_test_trigger_unmet_deps', TRUE)) {
$errors[] = t('This is an unmet dependency.');
}
return $errors;
}