You are here

function drupalmonitor_connector_menu in Drupalmonitor 7

Implements hook_menu().

File

./drupalmonitor_connector.module, line 12
This file is the core of drupalmonitor_connector

Code

function drupalmonitor_connector_menu() {
  $items['drupalmonitor'] = array(
    'title' => 'Drupalmonitor connector',
    'page callback' => 'drupalmonitor_connector_page_data',
    'access arguments' => array(
      'access drupalmonitor api',
    ),
    'type' => MENU_CALLBACK,
    'description' => 'Output drupalmonitor metrics',
    'file' => 'drupalmonitor_connector.pages.inc',
  );
  $items['admin/config/system/drupalmonitor'] = array(
    'title' => 'Drupalmonitor.com',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'drupalmonitor_connector_settings_form',
    ),
    'access arguments' => array(
      'administer drupalmonitor',
    ),
    'description' => 'Manage settings for Drupalmonitor connector module. (Security hash, Logging)',
    'file' => 'drupalmonitor_connector.admin.inc',
  );
  return $items;
}