function advanced_forum_ctools_plugin_directory in Advanced Forum 7.2
Same name and namespace in other branches
- 6.2 advanced_forum.module \advanced_forum_ctools_plugin_directory()
Tell CTools about what plugins we support.
File
- ./
advanced_forum.module, line 536 - Enables the look and feel of other popular forum software.
Code
function advanced_forum_ctools_plugin_directory($module, $plugin) {
if ($module == 'advanced_forum') {
return 'styles';
}
if ($module == 'page_manager' || $module == 'ctools') {
return 'plugins/' . $plugin;
}
}