You are here

shurly_migration.module in ShURLy 7

File

shurly_migration/shurly_migration.module
View source
<?php

/*
 * Implements hook_migrate_api()
 */
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;
}

Functions