You are here

function fieldable_panels_panes_ctools_plugin_directory in Fieldable Panels Panes (FPP) 7

Implements hook_ctools_plugin_directory().

File

./fieldable_panels_panes.module, line 710
Maintains an entity that appears as panel pane content.

Code

function fieldable_panels_panes_ctools_plugin_directory($owner, $plugin_type) {
  if ($owner == 'ctools' && $plugin_type == 'export_ui') {
    return 'plugins/' . $plugin_type;
  }
  if ($owner == 'ctools' && $plugin_type == 'content_types') {
    return 'plugins/' . $plugin_type;
  }
  if ($owner == 'panelizer' && defined('PANELIZER_VERSION') && version_compare(PANELIZER_VERSION, '3.0', '>=')) {
    return 'plugins/' . $plugin_type;
  }
}