You are here

function bean_ctools_plugin_directory in Bean (for Drupal 7) 7

Implements hook_ctools_plugin_directory().

Inform ctools about our panelizer plugin.

File

./bean.module, line 1192
Block Entity

Code

function bean_ctools_plugin_directory($module, $plugin) {
  if (in_array($module, array(
    'panelizer',
  ))) {
    return 'plugins/' . $plugin;
  }
}