function me_ctools_plugin_directory in me aliases 8
Same name and namespace in other branches
- 6.2 me.module \me_ctools_plugin_directory()
- 7 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;
}
}