You are here

function hook_migrate_api in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 migrate.api.php \hook_migrate_api()

Registers your module as an implementor of Migrate-based classes.

3 functions implement hook_migrate_api()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

migrate_example_migrate_api in migrate_example/migrate_example.module
migrate_example_oracle_migrate_api in migrate_example/migrate_example_oracle/migrate_example_oracle.migrate.inc
migrate_migrate_api in ./migrate.module
1 invocation of hook_migrate_api()
migrate_get_module_apis in ./migrate.module
Get a list of modules that support the current migrate API.

File

./migrate.api.php, line 11
Documentation for hooks defined by Migrate.

Code

function hook_migrate_api() {
  $api = array(
    'api' => 2,
  );
  return $api;
}