You are here

aegir_objects.drush.inc in Aegir Objects 7.3

Provision/Drush hooks for Aegir API commands.

File

drush/aegir_objects.drush.inc
View source
<?php

/**
 * @file
 * Provision/Drush hooks for Aegir API commands.
 */

/**
 * Register our directory as a place to find provision classes.
 */
function aegir_objects_register_autoload() {
  static $loaded = FALSE;
  if (!$loaded) {
    $loaded = TRUE;
    provision_autoload_register_prefix('Provision_', dirname(__FILE__));
  }
}

/**
 * Implements hook_drush_init().
 */
function aegir_objects_drush_init() {
  aegir_objects_register_autoload();
}

Functions

Namesort descending Description
aegir_objects_drush_init Implements hook_drush_init().
aegir_objects_register_autoload Register our directory as a place to find provision classes.