You are here

function _backup_migrate_message_callback in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.2 backup_migrate.module \_backup_migrate_message_callback()
  2. 8.3 backup_migrate.module \_backup_migrate_message_callback()
  3. 6.3 backup_migrate.module \_backup_migrate_message_callback()
  4. 6.2 backup_migrate.module \_backup_migrate_message_callback()
  5. 7.2 backup_migrate.module \_backup_migrate_message_callback()

Sets or retrieves a message handler.

8 calls to _backup_migrate_message_callback()
backup_migrate_cron in ./backup_migrate.module
Implements hook_cron().
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.
backup_migrate_drush_schedule in includes/backup_migrate.drush.inc
Backup using schedule.

... See full list

File

./backup_migrate.module, line 1977
Backup and restore databases for Drupal.

Code

function _backup_migrate_message_callback($callback = NULL) {
  static $current_callback = '_backup_migrate_message_log';
  if ($callback !== NULL) {
    $current_callback = $callback;
  }
  return $current_callback;
}