function features_override_ctools_plugin_directory in Features Override 6
Same name and namespace in other branches
- 7 features_override.module \features_override_ctools_plugin_directory()
Implementation of hook_ctools_plugin_directory().
File
- ./
features_override.module, line 69 - Export features component overrides.
Code
function features_override_ctools_plugin_directory($module, $type) {
// Safety: go away if CTools is not at an appropriate version.
if (!module_invoke('ctools', 'api_version', FEATURES_OVERRIDE_REQUIRED_CTOOLS_API)) {
return;
}
if ($module == 'ctools' && $type == 'export_ui') {
return 'plugins/' . $type;
}
}