function me_ctools_plugin_directory in me aliases 7
Same name and namespace in other branches
- 8 me.module \me_ctools_plugin_directory()
- 6.2 me.module \me_ctools_plugin_directory()
Implements hook_ctools_plugin_directory().
File
- ./
me.module, line 717 - Provides 'me' aliases to allow users to enter 'me' in common paths instead of their user id.
Code
function me_ctools_plugin_directory($module, $plugin) {
if ($module == 'ctools') {
return 'plugins/' . $plugin;
}
}