You are here

function relation_migrate_menu in Relation 8.2

Same name and namespace in other branches
  1. 8 relation_migrate/relation_migrate.module \relation_migrate_menu()
  2. 7 relation_migrate/relation_migrate.module \relation_migrate_menu()

Implements hook_menu().

File

relation_migrate/relation_migrate.module, line 14
Migrations between *reference fields and relations.

Code

function relation_migrate_menu() {
  $items['admin/structure/relation/migrate'] = array(
    'title' => 'Migration',
    'access arguments' => array(
      'administer relation types',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'relation_migrate_configuration_form',
    ),
    'description' => 'Configure migration between *reference fields and relations.',
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}