Calling all Drupal developers!
Help us get this on the first page of Digg. DIGG NOW!
Help us get this on the first page of Digg. DIGG NOW!
coder_menu()
contributions/coder/coder.module, line 90
Implementation of hook_menu().
<?php
function coder_menu() {
$items = array();
$items['coder'] = array(
'title' => t('Code review'),
'page callback' => 'coder_page',
'access arguments' => array('view code review'),
'type' => MENU_NORMAL_ITEM,
);
$items['coder/settings'] = array(
'title' => t('Selection Form'),
'page callback' => 'coder_page',
'access arguments' => array('view code review'),
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -2,
);
$items['coder/default'] = array(
'title' => t('Default'),
'page callback' => 'coder_page',
'access arguments' => array('view code review'),
'type' => MENU_LOCAL_TASK,
'weight' => -1,
);
$items['coder/core'] = array(
'title' => t('Core'),
'page callback' => 'coder_page',
'access arguments' => array('view code review'),
'type' => MENU_LOCAL_TASK,
);
$items['coder/active'] = array(
'title' => t('Active'),
'page callback' => 'coder_page',
'access arguments' => array('view code review'),
'type' => MENU_LOCAL_TASK,
);
$items['coder/all'] = array(
'title' => t('All'),
'page callback' => 'coder_page',
'access arguments' => array('view code review all'),
'type' => MENU_LOCAL_TASK,
'weight' => 1,
);
$items['admin/settings/coder'] = array(
'title' => t('Code review'),
'description' => t('Select code review plugins and modules'),
'page callback' => 'drupal_get_form',
'page arguments' => array('coder_admin_settings'),
'access arguments' => array('administer site configuration'),
);
return $items;
}
?>