You are here

function object_log_menu in Object Log 7

Implements hook_menu().

File

./object_log.module, line 5

Code

function object_log_menu() {
  $items = array();
  $items['admin/reports/object_log'] = array(
    'title' => 'Object log',
    'description' => 'View objects saved in the object log.',
    'page callback' => 'object_log_overview_page',
    'access arguments' => array(
      'access devel information',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'object_log.admin.inc',
  );
  $items['admin/reports/object_log/%'] = array(
    'title' => 'Object log',
    'description' => 'View objects saved in the object log.',
    'page callback' => 'object_log_object_page',
    'page arguments' => array(
      3,
    ),
    'access arguments' => array(
      'access devel information',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'object_log.admin.inc',
  );
  return $items;
}