function _backup_migrate_message_browser in Backup and Migrate 6.2
Same name and namespace in other branches
- 8.2 backup_migrate.module \_backup_migrate_message_browser()
- 8.3 backup_migrate.module \_backup_migrate_message_browser()
- 6.3 backup_migrate.module \_backup_migrate_message_browser()
- 7.3 backup_migrate.module \_backup_migrate_message_browser()
- 7.2 backup_migrate.module \_backup_migrate_message_browser()
Send a message to the browser. The normal type of message handling for interactive use.
2 string references to '_backup_migrate_message_browser'
- backup_migrate_menu_callback in ./
backup_migrate.module - A menu callback helper. Handles file includes and interactivity setting.
- nodesquirrel_settings in includes/
destinations.nodesquirrel.inc - NodeSquirrel settings form.
File
- ./
backup_migrate.module, line 936 - Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (e.g. cache_*)
Code
function _backup_migrate_message_browser($message, $replace, $type) {
// Log the message as well for admins.
_backup_migrate_message_log($message, $replace, $type);
// If there are links, we can display them in the browser.
if (!empty($replace['!links'])) {
$message .= " (!links)";
}
// Use drupal_set_message to display to the user.
drupal_set_message(t($message, $replace), str_replace('success', 'status', $type), FALSE);
}