function og_migrate_ctools_plugin_directory in Organic groups 7
Implements hook_ctools_plugin_directory().
File
- og_migrate/
og_migrate.module, line 41 - Migrate and upgrade Organic groups data.
Code
function og_migrate_ctools_plugin_directory($module, $type) {
// Safety: go away if CTools is not at an appropriate version.
if (!module_invoke('ctools', 'api_version', OG_MIGRATE_REQUIRED_CTOOLS_API)) {
return;
}
if ($module == 'og_migrate' && $type == 'og_migrate') {
return 'plugins/og_migrate';
}
}