function backup_migrate_form_update_script_selection_form_alter in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.3 backup_migrate.module \backup_migrate_form_update_script_selection_form_alter()
- 6.3 backup_migrate.module \backup_migrate_form_update_script_selection_form_alter()
Implements hook_form_update_script_selection_form_alter().
File
- ./
backup_migrate.module, line 282 - Backup and restore databases for Drupal.
Code
function backup_migrate_form_update_script_selection_form_alter(&$form, $form_state) {
$msg = t('Before you run any database updates, <strong>make sure you have a backup of your database.</strong> Use !backup_migrate to create that backup now.', array(
'!backup_migrate' => l(t('Backup and Migrate'), BACKUP_MIGRATE_MENU_PATH),
));
drupal_set_message($msg, 'warning');
}