You are here

function acquia_spi_menu in Acquia Connector 6.2

Same name and namespace in other branches
  1. 7.3 acquia_spi/acquia_spi.module \acquia_spi_menu()
  2. 7.2 acquia_spi/acquia_spi.module \acquia_spi_menu()

Implements hook_menu().

File

acquia_spi/acquia_spi.module, line 63
Send site profile information (NSPI) and system data to Acquia Insight.

Code

function acquia_spi_menu() {
  $items['system/acquia-spi-send'] = array(
    'title' => 'Acquia SPI Send',
    'description' => 'Send SPI data to Acquia Insight.',
    'page callback' => '_acquia_spi_send',
    'access callback' => '_acquia_spi_send_access',
    'type' => MENU_CALLBACK,
  );
  $items['system/acquia-spi-custom-test-validate'] = array(
    'title' => 'Acquia SPI Custom Test Validation',
    'description' => 'Perform a validation check on all Acquia SPI custom tests.',
    'page callback' => 'acquia_spi_test_status',
    'page arguments' => array(
      TRUE,
    ),
    'access arguments' => array(
      'access site reports',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}