You are here

function acquia_spi_test_enable in Acquia Connector 6.2

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

Implements hook_enable().

File

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

Code

function acquia_spi_test_enable() {
  $modules = module_implements('acquia_spi_test');
  foreach ($modules as $module) {
    if (function_exists($module . '_acquia_spi_test')) {
      drupal_set_message(t("An invokation of hook_acquia_spi_test() has been detected in @module.", array(
        '@module' => $module,
      )));
      watchdog('acquia agent', "An invokation of hook_acquia_spi_test() has been detected in @module.", array(
        '@module' => $module,
      ));
    }
  }
}