_backup_migrate_message_drush

  1. drupal
    1. 6 backup_migrate.drush.inc function
    2. 7 backup_migrate.drush.inc function
Drupal 7 _backup_migrate_message_drush($message, $replace, $type)

Send a message to the drush log.

3 string references to '_backup_migrate_message_drush'

File

sites/all/modules/backup_migrate/includes/backup_migrate.drush.inc, line 238
Drush commands for backup and migrate.

Code

function _backup_migrate_message_drush($message, $replace, $type) {
  // Use drush_log to display to the user.
  drush_log(strip_tags(dt($message, $replace)), str_replace('status', 'notice', $type));
  // Watchdog log the message as well for admins.
  _backup_migrate_message_log($message, $replace, $type);
}