You are here

function js_injector_ctools_plugin_directory in JS injector 7.2

Implementation of hook_ctools_plugin_directory().

In order for CTools to be able to provide an interface for administering the configuration presets, we have to expose the preset schema to the Export UI.

File

./js_injector.module, line 45
js_injector.module

Code

function js_injector_ctools_plugin_directory($module, $plugin) {
  if ($module == 'ctools' && $plugin == 'export_ui') {
    return 'plugins/' . $plugin;
  }
}