You are here

function acquia_connector_load_versions in Acquia Connector 8.2

Same name and namespace in other branches
  1. 8 acquia_connector.module \acquia_connector_load_versions()
  2. 3.x acquia_connector.module \acquia_connector_load_versions()

API function used by others to ensure version information is loaded.

Saves us some cycles to not load it each time, when it is actually not needed. We store this in a separate file, so that the Acquia build process only needs to alter that file instead of the main module file.

5 calls to acquia_connector_load_versions()
acquia_connector_has_update_service in ./acquia_connector.module
Returns the stored subscription data.
acquia_connector_requirements in ./acquia_connector.install
Implements hook_requirements().
acquia_connector_update_status_alter in ./acquia_connector.module
Implements hook_update_status_alter().
Client::getSubscription in src/Client.php
Get Acquia subscription from Acquia.
SpiController::getVersionInfo in src/Controller/SpiController.php
Attempt to determine the version of Drupal being used.

File

./acquia_connector.module, line 194
Acquia Connector module.

Code

function acquia_connector_load_versions() {

  // Include version number information.
  include_once 'acquia_connector_drupal_version.inc';
}