You are here

function encrypt_test_ctools_plugin_directory in Encrypt 7.3

Same name and namespace in other branches
  1. 7.2 tests/encrypt_test.module \encrypt_test_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

File

tests/encrypt_test.module, line 11
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;
  }
}