function config_pages_ctools_plugin_directory in Config Pages 7
Implements hook_ctools_plugin_directory().
File
- ./
config_pages.module, line 22 - This module is based on Model module (https://drupal.org/project/model) and most of the comments left untouched but have entity types renamed. Suuport for features added.
Code
function config_pages_ctools_plugin_directory($module, $plugin) {
if ($module == 'panels' || $module == 'ctools' || $module == 'entityreference') {
return 'plugins/' . $plugin;
}
if ($module == 'panelizer' && $plugin == 'entity') {
return 'plugins/panelizer/entity';
}
}