function _backup_migrate_messages in Backup and Migrate 8.2
Same name and namespace in other branches
- 8.3 backup_migrate.module \_backup_migrate_messages()
- 6.3 backup_migrate.module \_backup_migrate_messages()
- 6.2 backup_migrate.module \_backup_migrate_messages()
- 7.3 backup_migrate.module \_backup_migrate_messages()
- 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 942 - 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' => 'status',
);
}
return $messages;
}