function user_revision_ctools_plugin_directory in User Revision 7
Same name and namespace in other branches
- 7.2 user_revision.module \user_revision_ctools_plugin_directory()
Implements hook_ctools_plugin_directory().
File
- ./
user_revision.module, line 502 - Enables user revision.
Code
function user_revision_ctools_plugin_directory($owner, $plugin_type) {
if ($owner == 'ctools') {
return 'plugins/' . $plugin_type;
}
if ($owner == 'page_manager') {
return 'plugins/' . $plugin_type;
}
}