You are here

function _backup_migrate_message_callback in Backup and Migrate 8.3

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

Set or retrieve 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_menu_callback in ./backup_migrate.module
A menu callback helper. Handles file includes and interactivity setting.

... See full list

File

./backup_migrate.module, line 1776
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_callback($callback = NULL) {
  static $current_callback = '_backup_migrate_message_log';
  if ($callback !== NULL) {
    $current_callback = $callback;
  }
  return $current_callback;
}