You are here

function _backup_migrate_messages in Backup and Migrate 8.3

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

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

2 calls to _backup_migrate_messages()
backup_migrate_filter_statusnotify::get_messages in includes/filters.statusnotify.inc
Render the messages and errors for the email.
_backup_migrate_message in ./backup_migrate.module
Helper function to set a drupal message and watchdog message depending on whether the module is being run interactively.

File

./backup_migrate.module, line 1740
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_messages($message = NULL, $replace = array(), $type = 'status') {
  static $messages = array();
  if ($message) {
    $messages[] = array(
      'message' => $message,
      'replace' => $replace,
      'type' => $type,
    );
  }
  return $messages;
}