function popup_descriptions_menu in Popup 7
Same name and namespace in other branches
- 8 modules/popup_descriptions/popup_descriptions.module \popup_descriptions_menu()
- 7.x modules/popup_descriptions/popup_descriptions.module \popup_descriptions_menu()
Implementation of hook_menu
File
- modules/
popup_descriptions/ popup_descriptions.module, line 8
Code
function popup_descriptions_menu() {
$path = drupal_get_path('module', 'popup_descriptions');
return array(
'admin/config/user-interface/popup/descriptions' => array(
'access arguments' => array(
'administer popup elements',
),
'description' => t('Configure field description popups.'),
'file' => 'popup_descriptions.admin.inc',
'file path' => $path . '/includes',
'page arguments' => array(
'popup_description_admin_settings',
),
'page callback' => 'drupal_get_form',
'title' => 'Form field descriptions',
'type' => MENU_LOCAL_TASK,
'weight' => 5,
),
'admin/config/user-interface/popup/descriptions/rule' => array(
'access arguments' => array(
'administer popup elements',
),
'file' => 'popup_descriptions.admin.inc',
'file path' => $path . '/includes',
'page callback' => 'popup_descriptions_rule',
'type' => MENU_CALLBACK,
),
);
}