function _backup_migrate_message

cis7 backup_migrate.module _backup_migrate_message($message, $replace = array(), $type = 'status')
cle7 backup_migrate.module _backup_migrate_message($message, $replace = array(), $type = 'status')
elmsmedia7 backup_migrate.module _backup_migrate_message($message, $replace = array(), $type = 'status')
icor7 backup_migrate.module _backup_migrate_message($message, $replace = array(), $type = 'status')
meedjum_blog7 backup_migrate.module _backup_migrate_message($message, $replace = array(), $type = 'status')
mooc7 backup_migrate.module _backup_migrate_message($message, $replace = array(), $type = 'status')

Helper function to set a drupal message and watchdog message depending on whether the module is being run interactively.

32 calls to _backup_migrate_message()
backup_file::open in sites/all/modules/ulmus/backup_migrate/includes/files.inc
Open a file for reading or writing.
backup_migrate_backup_fail in sites/all/modules/ulmus/backup_migrate/backup_migrate.module
Clean up when a backup operation fails.
backup_migrate_backup_migrate_destinations in sites/all/modules/ulmus/backup_migrate/includes/destinations.inc
Implementation of hook_backup_migrate_destinations().
backup_migrate_backup_succeed in sites/all/modules/ulmus/backup_migrate/backup_migrate.module
Clean up when a backup operation suceeds.
backup_migrate_destination_db::restore_from_file in sites/all/modules/ulmus/backup_migrate/includes/destinations.db.inc
Restore to this source.

... See full list

File

sites/all/modules/ulmus/backup_migrate/backup_migrate.module, line 971
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);
}