You are here

public function backup_migrate_item::edit_form_submit in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.2 includes/crud.inc \backup_migrate_item::edit_form_submit()
  2. 8.3 includes/crud.inc \backup_migrate_item::edit_form_submit()
  3. 6.3 includes/crud.inc \backup_migrate_item::edit_form_submit()
  4. 6.2 includes/crud.inc \backup_migrate_item::edit_form_submit()
  5. 7.2 includes/crud.inc \backup_migrate_item::edit_form_submit()

Submit the edit form for the item.

5 calls to backup_migrate_item::edit_form_submit()
backup_migrate_destination_files::edit_form_submit in includes/destinations.file.inc
Submit the form for the settings for the files destination.
backup_migrate_destination_remote::edit_form_submit in includes/destinations.inc
Submit the configuration form.
backup_migrate_location_remote::edit_form_submit in includes/locations.inc
Submit the configuration form. Glue the url together and add the old password back if a new one was not specified.
backup_migrate_schedule::edit_form_submit in includes/schedules.inc
Submit the edit form.
backup_migrate_source_remote::edit_form_submit in includes/sources.inc
Submits the configuration form.
5 methods override backup_migrate_item::edit_form_submit()
backup_migrate_destination_files::edit_form_submit in includes/destinations.file.inc
Submit the form for the settings for the files destination.
backup_migrate_destination_remote::edit_form_submit in includes/destinations.inc
Submit the configuration form.
backup_migrate_location_remote::edit_form_submit in includes/locations.inc
Submit the configuration form. Glue the url together and add the old password back if a new one was not specified.
backup_migrate_schedule::edit_form_submit in includes/schedules.inc
Submit the edit form.
backup_migrate_source_remote::edit_form_submit in includes/sources.inc
Submits the configuration form.

File

includes/crud.inc, line 821
CRUD functions for backup and migrate types (schedules, profiles etc.).

Class

backup_migrate_item
A base class for items which can be stored in the database.

Code

public function edit_form_submit($form, &$form_state) {
  $this
    ->from_array($form_state['values']);
  $this
    ->save();
  _backup_migrate_message('Your !type was saved', array(
    '!type' => t($this->singular),
  ));
}