function popups_menu in Popups API (Ajax Dialogs) 6.2
Same name and namespace in other branches
- 5 popups.module \popups_menu()
- 6 popups.module \popups_menu()
- 7 popups.module \popups_menu()
Implementation of hook_menu().
Return value
array of new menu items.
File
- ./
popups.module, line 18 - This module provides a hook_popups for links to be opened in an Ajax Popup Modal Dialog.
Code
function popups_menu() {
// Admin Settings.
$items['admin/settings/popups'] = array(
'page callback' => 'drupal_get_form',
'page arguments' => array(
'popups_admin_settings',
),
'title' => 'Popups',
'access arguments' => array(
'administer site configuration',
),
'description' => 'Configure the page-in-a-dialog behavior.',
);
return $items;
}