You are here

function linkit_ctools_plugin_directory in Linkit 7.2

Same name and namespace in other branches
  1. 7.3 linkit.module \linkit_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

File

./linkit.module, line 913
Main file for linkit module.

Code

function linkit_ctools_plugin_directory($module, $plugin) {
  if ($module == 'ctools' && !empty($plugin)) {
    return "plugins/" . $plugin;
  }
  if ($module == 'linkit' && !empty($plugin)) {
    return "plugins/" . $plugin;
  }
}