You are here

function pmtimetracking_menu in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 pmtimetracking/pmtimetracking.module \pmtimetracking_menu()
  2. 7 pmtimetracking/pmtimetracking.module \pmtimetracking_menu()
  3. 7.2 pmtimetracking/pmtimetracking.module \pmtimetracking_menu()

Implements hook_menu().

File

pmtimetracking/pmtimetracking.module, line 37
Main module functions for PM Timetracking.

Code

function pmtimetracking_menu() {
  $items = array();
  $items['admin/config/pm/timetracking'] = array(
    'title' => 'Timetrackings',
    'description' => 'Configure <em>Project Management</em> timetrackings.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'pmtimetracking_admin_settings',
    ),
    'access arguments' => array(
      'Project Management: access administration pages',
    ),
  );
  return $items;
}