function encrypt_test_ctools_plugin_directory in Encrypt 7.2
Same name and namespace in other branches
- 7.3 tests/encrypt_test.module \encrypt_test_ctools_plugin_directory()
Implements hook_ctools_plugin_directory().
File
- tests/
encrypt_test.module, line 24 - Declares a bogus encryption method and key provider for testing purposes.
Code
function encrypt_test_ctools_plugin_directory($module, $plugin) {
if ($module == 'encrypt') {
return 'plugins/' . $plugin;
}
}