function accordions_menu in Accordions 7
Implements hook_menu().
File
- ./
accordions.module, line 106
Code
function accordions_menu() {
$items = array();
$items['accordions/autocomplete'] = array(
'title' => 'Accordions autocomplete',
'page callback' => 'accordions_autocomplete',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['admin/config/user-interface/accordions'] = array(
'title' => 'Accordions',
'description' => 'Configure content that can be collapsed/expanded like an accordion.',
'access callback' => 'user_access',
'access arguments' => array(
'administer accordion types',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'accordions_admin_form',
),
'file' => 'accordions.admin.inc',
'type' => MENU_NORMAL_ITEM,
);
return $items;
}