You are here

function hook_acquia_connector_spi_get in Acquia Connector 8.2

Same name and namespace in other branches
  1. 8 acquia_connector.api.php \hook_acquia_connector_spi_get()
  2. 3.x acquia_connector.api.php \hook_acquia_connector_spi_get()

Include data to be sent to Acquia Insight as part of the SPI process.

Include custom site information to be sent to the Acquia Insight service for detailed site analysis. Insight will process this data and alert appropriately.

Return value

array An array of custom data keyed by unique identifier.

Required format 'string' => array().

1 invocation of hook_acquia_connector_spi_get()
SpiController::get in src/Controller/SpiController.php
Gather site profile information about this site.

File

./acquia_connector.api.php, line 30
Hooks related to module.

Code

function hook_acquia_connector_spi_get() {
  $data['example'] = [
    'result' => TRUE,
    'value' => '9000',
  ];
  return $data;
}