You are here

function me_ctools_plugin_directory in me aliases 7

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