You are here

function acsf_install in Acquia Cloud Site Factory Connector 8.2

Same name and namespace in other branches
  1. 8 acsf.install \acsf_install()

Implements hook_install().

2 string references to 'acsf_install'
acsf_acsf_registry in ./acsf.module
Implements hook_acsf_registry().
hook_acsf_registry in ./acsf.api.php
Defines ACSF event handlers.

File

./acsf.install, line 13
Install, update and uninstall functions for the Acquia Site Factory module.

Code

function acsf_install() {

  // Initiate an event to run post-acsf-install tasks. We assume this event
  // will only ever do anything useful on ACSF environments.
  if (!empty($GLOBALS['gardens_site_settings'])) {
    acsf_build_registry();
    $type = 'acsf_install';
    $event = AcsfEvent::create($type);
    $event
      ->run();
  }
}