You are here

function hook_ctools_plugin_directory in Linkit 7.2

If you will implement new Linkit plugins, you'll need to tell ctools that you have linkit plugins. This is done by using hook_ctools_plugin_directory. See the ctools documentation for for more info about this hook.

1 function implements hook_ctools_plugin_directory()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

linkit_ctools_plugin_directory in ./linkit.module
Implements hook_ctools_plugin_directory().

File

./linkit.api.php, line 24
Hooks and alters provided by Linkit.

Code

function hook_ctools_plugin_directory($module, $plugin) {
  if ($module == 'linkit' && $plugin == 'linkit_plugin') {
    return 'plugins/linkit_plugin';
  }
}