You are here

function acquia_agent_menu in Acquia Connector 6

Same name and namespace in other branches
  1. 6.2 acquia_agent/acquia_agent.module \acquia_agent_menu()
  2. 7.3 acquia_agent/acquia_agent.module \acquia_agent_menu()
  3. 7 acquia_agent/acquia_agent.module \acquia_agent_menu()
  4. 7.2 acquia_agent/acquia_agent.module \acquia_agent_menu()

Implementation of hook_menu().

File

acquia_agent/acquia_agent.module, line 30
Acquia Agent securely sends information to Acquia Network.

Code

function acquia_agent_menu() {
  $items['admin/settings/acquia-agent'] = array(
    'title' => 'Acquia Network settings',
    'description' => 'Connect your site to the Acquia Network.',
    'page callback' => 'acquia_agent_settings_page',
    'file' => 'acquia_agent.pages.inc',
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  $items['admin/settings/acquia-agent/refresh-status'] = array(
    'title' => 'Manual update check',
    'page callback' => 'acquia_agent_refresh_status',
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}