You are here

function backup_migrate_item::edit_form_submit in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 8.2 includes/crud.inc \backup_migrate_item::edit_form_submit()
  2. 6.3 includes/crud.inc \backup_migrate_item::edit_form_submit()
  3. 6.2 includes/crud.inc \backup_migrate_item::edit_form_submit()
  4. 7.3 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.

6 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_nodesquirrel::edit_form_submit in includes/destinations.nodesquirrel.inc
Submit the configuration form. Glue the url together and add the old password back if a new one was not specified.
backup_migrate_destination_remote::edit_form_submit in includes/destinations.inc
Submit the configuration form. Glue the url together and add the old password back if a new one was not specified.
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.

... See full list

6 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_nodesquirrel::edit_form_submit in includes/destinations.nodesquirrel.inc
Submit the configuration form. Glue the url together and add the old password back if a new one was not specified.
backup_migrate_destination_remote::edit_form_submit in includes/destinations.inc
Submit the configuration form. Glue the url together and add the old password back if a new one was not specified.
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.

... See full list

File

includes/crud.inc, line 820
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, listed, edited, deleted etc.

Code

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),
  ));
}