You are here

function janrain_capture_mapping_menu in Janrain Registration 7

Same name and namespace in other branches
  1. 7.4 janrain_capture_mapping/janrain_capture_mapping.module \janrain_capture_mapping_menu()
  2. 7.2 janrain_capture_mapping/janrain_capture_mapping.module \janrain_capture_mapping_menu()
  3. 7.3 janrain_capture_mapping/janrain_capture_mapping.module \janrain_capture_mapping_menu()

Implements hook_menu().

File

janrain_capture_mapping/janrain_capture_mapping.module, line 11
This module implements a data mapping UI for Janrain Capture

Code

function janrain_capture_mapping_menu() {
  $items['admin/config/people/janrain_capture/mapping'] = array(
    'title' => 'Field Mapping',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'janrain_capture_settings_mapping',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => -8,
    'file' => 'janrain_capture_mapping.admin.inc',
  );
  $items["admin/config/people/janrain_capture/fields"] = array(
    'title' => 'Manage fields',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'janrain_capture_settings_fields',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => -7,
    'file' => 'janrain_capture_mapping.admin.inc',
  );
  $items['admin/config/people/janrain_capture/fields/reset'] = array(
    'title' => 'Reset to defaults',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'janrain_capture_settings_fields_reset',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'janrain_capture_mapping.admin.inc',
  );
  $items['admin/config/people/janrain_capture/fields/edit'] = array(
    'title' => 'Edit field',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'janrain_capture_settings_fields_edit',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'janrain_capture_mapping.admin.inc',
  );
  $items['admin/config/people/janrain_capture/fields/delete'] = array(
    'title' => 'Delete field',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'janrain_capture_settings_fields_delete',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'janrain_capture_mapping.admin.inc',
  );
  return $items;
}