You are here

function shurly_migration_migrate_api in ShURLy 7

File

shurly_migration/shurly_migration.module, line 7

Code

function shurly_migration_migrate_api() {
  $api = array(
    'api' => 2,
    'groups' => array(
      'shorturlgroup' => array(
        'title' => t('Migrate Shurly short URLs'),
      ),
    ),
    'migrations' => array(
      'ShortURL' => array(
        'class_name' => 'ShortURLMigration',
        'group_name' => 'shorturlgroup',
      ),
    ),
  );
  return $api;
}