public function BackupDeleteForm::buildForm in Backup and Migrate 5.0.x
Same name and namespace in other branches
- 8.4 src/Form/BackupDeleteForm.php \Drupal\backup_migrate\Form\BackupDeleteForm::buildForm()
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides ConfirmFormBase::buildForm
File
- src/
Form/ BackupDeleteForm.php, line 75
Class
Namespace
Drupal\backup_migrate\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $backup_migrate_destination = NULL, $backup_id = NULL) {
$this->destination = $backup_migrate_destination;
$this->backupId = $backup_id;
return parent::buildForm($form, $form_state);
}