function drush_hosting_import

7.x-3.x hosting.drush.inc drush_hosting_import($alias)

Command to import an existing provision named context.

It generate nodes for it.

Parameters

string $alias: The name of the provision context to import.

File

./hosting.drush.inc, line 97
Drush include for the Hosting module.

Code

function drush_hosting_import($alias) {
  if (!empty($alias)) {
    if (d($alias)->name) {
      drush_log("Importing $alias");
      hosting_drush_import($alias);
    }
  }
}