function services_ctools_plugin_directory in Services 7.3
Same name and namespace in other branches
- 6.3 services.module \services_ctools_plugin_directory()
Implement of hook_ctools_plugin_directory().
File
- ./
services.module, line 296 - Provides a generic but powerful API for web services.
Code
function services_ctools_plugin_directory($module, $type) {
// Safety: go away if CTools is not at an appropriate version.
if (!module_invoke('ctools', 'api_version', SERVICES_REQUIRED_CTOOLS_API)) {
return;
}
if ($type == 'export_ui') {
return 'plugins/export_ui';
}
}