function _backup_migrate_message_drush in Backup and Migrate 6.3
Same name and namespace in other branches
- 8.2 includes/backup_migrate.drush.inc \_backup_migrate_message_drush()
- 8.3 includes/backup_migrate.drush.inc \_backup_migrate_message_drush()
- 6.2 includes/backup_migrate.drush.inc \_backup_migrate_message_drush()
- 7.3 includes/backup_migrate.drush.inc \_backup_migrate_message_drush()
- 7.2 includes/backup_migrate.drush.inc \_backup_migrate_message_drush()
Send a message to the drush log.
3 string references to '_backup_migrate_message_drush'
- backup_migrate_drush_backup in includes/
backup_migrate.drush.inc - Backup the default database.
- backup_migrate_drush_destination_files in includes/
backup_migrate.drush.inc - Get a list of files in a given destination
- backup_migrate_drush_restore in includes/
backup_migrate.drush.inc - Restore to the default database.
File
- includes/
backup_migrate.drush.inc, line 249 - 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);
}