function user_relationship_migrate_menu in User Relationships 6
Same name and namespace in other branches
- 5 plugins/user_relationship_migrate/user_relationship_migrate.module \user_relationship_migrate_menu()
- 5.2 plugins/user_relationship_migrate/user_relationship_migrate.module \user_relationship_migrate_menu()
Implementation of hook_menu().
File
- user_relationship_migrate/
user_relationship_migrate.module, line 20
Code
function user_relationship_migrate_menu() {
$items = array();
$items['admin/user/relationships/migrate'] = array(
'title' => 'Migrate from buddylist2',
'page callback' => 'user_relationship_migrate_page',
'access arguments' => array(
'administer user relationships',
),
'type' => MENU_LOCAL_TASK,
'weight' => 4,
);
$items['admin/user/relationships/migrate/error'] = array(
'title' => 'Migrating from buddylist2 error',
'page callback' => 'user_relationship_migrate_error',
'access arguments' => array(
'administer user relationships',
),
'type' => MENU_CALLBACK,
);
return $items;
}