function _backup_migrate_interactive in Backup and Migrate 5.2
Status function which stores whether the module is being run interactively (via form submits) or non-iteractively (cron, actions, etc.)
3 calls to _backup_migrate_interactive()
- backup_migrate_menu_callback in ./
backup_migrate.module - A menu callback helper. Handles file includes and interactivity setting.
- backup_migrate_ui_manual_backup_form_submit in ./
backup_migrate.module - Submit the form. Save the values as defaults if desired and output the backup file.
- _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 730 - 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_interactive($interactive = NULL) {
static $is_interactive = NULL;
if ($interactive !== NULL) {
$is_interactive = $interactive;
}
return $is_interactive;
}