You are here

function import_migrate_api in Import 7

Implements hook_migrate_api().

File

./import.module, line 5

Code

function import_migrate_api() {
  $api = array(
    'api' => 2,
    'groups' => array(
      'import' => array(
        'title' => t('Import'),
      ),
    ),
    'migrations' => array(
      'ImportBaseComments' => array(
        'class_name' => 'ImportBaseComments',
        'group_name' => 'import',
      ),
      'ImportBaseNodes' => array(
        'class_name' => 'ImportBaseNodes',
        'group_name' => 'import',
      ),
      'ImportBaseTerms' => array(
        'class_name' => 'ImportBaseTerms',
        'group_name' => 'import',
      ),
      'ImportBaseUserPictures' => array(
        'class_name' => 'ImportBaseUserPictures',
        'group_name' => 'import',
      ),
      'ImportBaseUsers' => array(
        'class_name' => 'ImportBaseUsers',
        'group_name' => 'import',
      ),
    ),
  );
  return $api;
}