function drush_hosting_import in Hosting 7.4
Same name and namespace in other branches
- 6.2 hosting.drush.inc \drush_hosting_import()
- 7.3 hosting.drush.inc \drush_hosting_import()
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 103 - 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);
}
}
}