You are here

function panels_mini_ctools_plugin_directory in Panels 7.3

Same name and namespace in other branches
  1. 6.3 panels_mini/panels_mini.module \panels_mini_ctools_plugin_directory()

Implementation of hook_ctools_plugin_directory() to let the system know we implement task and task_handler plugins.

File

panels_mini/panels_mini.module, line 455
panels_mini.module

Code

function panels_mini_ctools_plugin_directory($module, $plugin) {
  if ($module == 'ctools' && ($plugin == 'content_types' || $plugin == 'export_ui')) {
    return 'plugins/' . $plugin;
  }
  if ($module == 'panels' && $plugin == 'panels_storage') {
    return 'plugins/' . $plugin;
  }
}