You are here

function migrate_module_include in Migrate 6

Load views files on behalf of modules.

1 call to migrate_module_include()
migrate_init in ./migrate.module

File

./migrate.module, line 1576
This module provides tools at "administer >> content >> migrate" for analyzing data from various sources and importing them into Drupal tables.

Code

function migrate_module_include() {
  foreach (migrate_get_module_apis() as $module => $info) {
    foreach ($info['integration modules'] as $intmod => $intmod_details) {
      $file = "{$info['path']}/{$intmod}.migrate.inc";
      if (file_exists($file) && $intmod_details['status'] == TRUE) {
        require_once $file;
      }
    }
  }
}