You are here

function acquia_spi_agent_settings_submit in Acquia Connector 7.3

Same name and namespace in other branches
  1. 6.2 acquia_spi/acquia_spi.module \acquia_spi_agent_settings_submit()
  2. 6 acquia_spi/acquia_spi.module \acquia_spi_agent_settings_submit()
  3. 7 acquia_spi/acquia_spi.module \acquia_spi_agent_settings_submit()
  4. 7.2 acquia_spi/acquia_spi.module \acquia_spi_agent_settings_submit()

Added submit function for acquia_agent_settings form.

File

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

Code

function acquia_spi_agent_settings_submit($form, &$form_state) {

  // Send information as soon as the key/identifier pair is submitted.
  acquia_spi_send_full_spi(ACQUIA_SPI_METHOD_CREDS);
}