You are here

function domain_views_ctools_plugin_directory in Domain Views 7

Implement hook_ctools_plugin_directory().

File

./domain_views.module, line 47
Provides a Views filter for the Domain Access module.

Code

function domain_views_ctools_plugin_directory($module, $plugin) {

  // Only supported by Domain Access 7.x.3
  if (domain_views_api_version() > 2 && $module == 'views_ui' && !empty($plugin)) {
    return "plugins/{$plugin}";
  }
}