You are here

function backup_migrate_profile::edit_form in Backup and Migrate 8.2

Same name and namespace in other branches
  1. 8.3 includes/profiles.inc \backup_migrate_profile::edit_form()
  2. 6.3 includes/profiles.inc \backup_migrate_profile::edit_form()
  3. 6.2 includes/profiles.inc \backup_migrate_profile::edit_form()
  4. 7.3 includes/profiles.inc \backup_migrate_profile::edit_form()
  5. 7.2 includes/profiles.inc \backup_migrate_profile::edit_form()

Get the edit form.

Overrides backup_migrate_item::edit_form

File

includes/profiles.inc, line 297

Class

backup_migrate_profile
A profile class for crud operations.

Code

function edit_form() {
  $form = parent::edit_form();
  $form['name'] = array(
    "#type" => "textfield",
    "#title" => t("Profile Name"),
    '#required' => TRUE,
    "#default_value" => $this
      ->get('name'),
  );
  $form += _backup_migrate_ui_backup_settings_form($this);
  return $form;
}