function linkit_menu in Linkit 7.2
Same name and namespace in other branches
- 6 linkit.module \linkit_menu()
- 7.3 linkit.module \linkit_menu()
- 7 linkit.module \linkit_menu()
Implements hook_menu().
File
- ./
linkit.module, line 24 - Main file for linkit module.
Code
function linkit_menu() {
$items = array();
$items['linkit/dashboard/%'] = array(
'title' => 'Linkit',
'description' => 'Dashboard',
'page callback' => '_linkit_dashboard',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
'page arguments' => array(
2,
),
'theme callback' => '_linkit_dashboard_theme',
);
$items['linkit/autocomplete'] = array(
'title' => 'Linkit autocomplete response function',
'page callback' => '_linkit_autocomplete',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
);
$items['admin/config/content/linkit/reorder'] = array(
'title' => 'Reorder',
'description' => 'Reorder Linkit profiles',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'linkit_profiles_reorder',
),
'access arguments' => array(
'administer linkit',
),
'file path' => drupal_get_path('module', 'linkit') . '/plugins/export_ui',
'file' => 'linkit_profiles.inc',
'type' => MENU_LOCAL_TASK,
);
return $items;
}