function _backup_migrate_message in Backup and Migrate 6.3
Same name and namespace in other branches
- 8.2 backup_migrate.module \_backup_migrate_message()
- 8.3 backup_migrate.module \_backup_migrate_message()
- 5.2 backup_migrate.module \_backup_migrate_message()
- 6.2 backup_migrate.module \_backup_migrate_message()
- 7.3 backup_migrate.module \_backup_migrate_message()
- 7.2 backup_migrate.module \_backup_migrate_message()
Helper function to set a drupal message and watchdog message depending on whether the module is being run interactively.
38 calls to _backup_migrate_message()
- backup_file::open in includes/files.inc 
- Open a file for reading or writing.
- backup_file::temporary_file in includes/files.inc 
- Get a temporary file name with path.
- backup_migrate_backup_fail in ./backup_migrate.module 
- Clean up when a backup operation fails.
- backup_migrate_backup_succeed in ./backup_migrate.module 
- Clean up when a backup operation suceeds.
- backup_migrate_crud_import_form_submit in includes/crud.inc 
- import a item after confirmation.
File
- ./backup_migrate.module, line 1538 
- 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($message, $replace = array(), $type = 'status') {
  // Only set a message if there is a callback handler to handle the message.
  if (($callback = _backup_migrate_message_callback()) && function_exists($callback)) {
    $callback($message, $replace, $type);
  }
  // Store the message in case it's needed (for the status notification filter for example).
  _backup_migrate_messages($message, $replace, $type);
}