function backup_migrate_profile::edit_form in Backup and Migrate 6.2
Same name and namespace in other branches
- 8.2 includes/profiles.inc \backup_migrate_profile::edit_form()
- 8.3 includes/profiles.inc \backup_migrate_profile::edit_form()
- 6.3 includes/profiles.inc \backup_migrate_profile::edit_form()
- 7.3 includes/profiles.inc \backup_migrate_profile::edit_form()
- 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 301
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;
}