function ctools_custom_content_ctools_plugin_directory in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 ctools_custom_content/ctools_custom_content.module \ctools_custom_content_ctools_plugin_directory()
Implementation of hook_ctools_plugin_directory() to let the system know we implement task and task_handler plugins.
File
- ctools_custom_content/
ctools_custom_content.module, line 31 - The ctools_custom_content module.
Code
function ctools_custom_content_ctools_plugin_directory($module, $plugin) {
// Most of this module is implemented as an export ui plugin, and the
// rest is in ctools/includes/ctools_custom_content.inc.
if ($module == 'ctools' && $plugin == 'export_ui') {
return 'plugins/' . $plugin;
}
}