function drush_hosting_post_hosting_task

7.x-3.x task.hosting.inc drush_hosting_post_hosting_task($task)

Post completion hook for the hosting-task Drush command.

See also

hook_post_hosting_TASK_TYPE_task()

File

./task.hosting.inc, line 164
Drush include for the Hosting module's hosting task command.

Code

function drush_hosting_post_hosting_task($task) {
  $task = &drush_get_context('HOSTING_TASK');

  $hook = sprintf("post_hosting_%s_task", str_replace('-', '_', $task->task_type));
  drush_log(dt('Invoking :hook hooks.', array(':hook' => $hook)));
  module_invoke_all($hook, $task, drush_get_context('HOSTING_DRUSH_OUTPUT'));
}