You are here

function file_entity_ctools_plugin_directory in File Entity (fieldable files) 7.2

Same name and namespace in other branches
  1. 7.3 file_entity.module \file_entity_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

File

./file_entity.module, line 1082
Extends Drupal file entities to be fieldable and viewable.

Code

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