function drush_notify_send

8.0.x notify.drush.inc drush_notify_send($msg)
6.x notify.drush.inc drush_notify_send($msg)
7.x notify.drush.inc drush_notify_send($msg)
master notify.drush.inc drush_notify_send($msg)

Prepares and dispatches notifications to delivery mechanisms.

You may avoid routing a message to secondary messaging mechanisms (e.g. audio), by direct use of the delivery functions.

Parameters

string $msg: Message to send via notification.

3 calls to drush_notify_send()
drush_notify_shutdown_error in commands/core/notify.drush.inc
Shutdown function to signal on errors.
drush_pm_download in commands/pm/download.pm.inc
Command callback. Download Drupal core or any project.
notify_drush_exit in commands/core/notify.drush.inc
Implements hook_drush_exit().

File

commands/core/notify.drush.inc, line 108
Add system notifications as a new drush option.

Code

function drush_notify_send($msg) {
  drush_notify_send_text($msg);
  if (drush_get_option('notify-audio', FALSE)) {
    drush_notify_send_audio($msg);
  }
}