masquerade_ctools.module in Masquerade Extras 7
Same filename and directory in other branches
Allows Ctools to look for masquerade plugins.
File
masquerade_ctools/masquerade_ctools.moduleView source
<?php
/**
* @file
* Allows Ctools to look for masquerade plugins.
*/
/**
* Implements hook_ctools_plugin_directory().
*
* Tell ctools where to look for plugins.
*
* @see hook_ctools_plugin_directory()
*/
function masquerade_ctools_ctools_plugin_directory($owner, $plugin_type) {
if ($owner == 'ctools') {
return "plugins/{$plugin_type}";
}
return '';
}
Functions
Name | Description |
---|---|
masquerade_ctools_ctools_plugin_directory | Implements hook_ctools_plugin_directory(). |