You are here

function oa_sections_menu in Open Atrium Core 7.2

Implements hook_menu().

File

modules/oa_sections/oa_sections.module, line 34

Code

function oa_sections_menu() {
  $items = array();
  $items['node/add/oa-section/%'] = array(
    'title' => 'Create Section',
    'page callback' => 'oa_core_create_space_page_callback',
    'page arguments' => array(
      'oa_section',
      3,
    ),
    'access callback' => 'node_access',
    'access arguments' => array(
      'create',
      'oa_section',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}