function flexiform_ctools_plugin_directory in Flexiform 7
Impements hook_ctools_plugin_directory().
File
- ./
flexiform.module, line 187 - Module for the Flexiform system.
Code
function flexiform_ctools_plugin_directory($owner, $plugin_type) {
if ($owner == 'panelizer' && $plugin_type == 'entity') {
return "plugins/{$plugin_type}";
}
if ($owner == 'ctools' && $plugin_type == 'content_types') {
return "plugins/{$plugin_type}";
}
}