You are here

function background_process_ass_menu in Background Process 7.2

Same name and namespace in other branches
  1. 6 background_process_ass/background_process_ass.module \background_process_ass_menu()
  2. 7 background_process_ass/background_process_ass.module \background_process_ass_menu()

Implements hook_menu().

File

background_process_ass/background_process_ass.module, line 17
@todo Implement admin interface. @todo Fix runtime check of running process.

Code

function background_process_ass_menu() {
  $items = array();
  $items['admin/config/system/background-process/ass'] = array(
    'type' => MENU_LOCAL_TASK,
    'title' => 'Apache Server Status',
    'description' => 'Administer background process apache server status',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'background_process_ass_settings_form',
    ),
    'access arguments' => array(
      'administer background process',
    ),
    'file' => 'background_process_ass.admin.inc',
    'weight' => 3,
  );
  return $items;
}