function region_pane_ctools_plugin_directory in Panels Extras 7
Same name and namespace in other branches
- 6 region_pane/region_pane.module \region_pane_ctools_plugin_directory()
Implements hook_ctools_plugin_directory().
It simply tells panels where to find the .inc files that define various args, contexts, content_types. In this case the subdirectory of region_pane/content_types are used.
File
- region_pane/
region_pane.module, line 11
Code
function region_pane_ctools_plugin_directory($module, $plugin) {
if ($module == 'ctools' && $plugin == 'content_types') {
return "plugins/content_types";
}
}