function page_load_progress_menu in Page Load Progress 7
Implements hook_menu().
File
- ./
page_load_progress.module, line 12 - Page Load Progress allows you to set a screen lock showing a spinner when the user clicks on an element that triggers a time consuming task.
Code
function page_load_progress_menu() {
$items = array();
$items['admin/config/user-interface/page-load-progress'] = array(
'title' => 'Page Load Progress',
'description' => 'Manage the behavior of Page Load Progress.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'page_load_progress_settings',
),
'access arguments' => array(
'administer Page Load Progress settings',
),
'file' => 'page_load_progress.admin.inc',
'type' => MENU_NORMAL_ITEM,
);
return $items;
}