You are here

function aegir_objects_register_autoload in Aegir Objects 7.3

Register our directory as a place to find provision classes.

1 call to aegir_objects_register_autoload()
aegir_objects_drush_init in drush/aegir_objects.drush.inc
Implements hook_drush_init().

File

drush/aegir_objects.drush.inc, line 11
Provision/Drush hooks for Aegir API commands.

Code

function aegir_objects_register_autoload() {
  static $loaded = FALSE;
  if (!$loaded) {
    $loaded = TRUE;
    provision_autoload_register_prefix('Provision_', dirname(__FILE__));
  }
}