function drush_hosting_import in Hosting 6.2
Same name and namespace in other branches
- 7.4 hosting.drush.inc \drush_hosting_import()
- 7.3 hosting.drush.inc \drush_hosting_import()
Command to import an existing provision named context and generate nodes for it.
Parameters
$alias: The name of the provision context to import.
File
- ./
hosting.drush.inc, line 102 - Drush include for the Hosting module.
Code
function drush_hosting_import($alias) {
if (sizeof($alias)) {
if (d($alias)->name) {
drush_log("Importing {$alias}");
hosting_drush_import($alias);
}
}
}