You are here

public function ConfigDeleteConfirmForm::buildForm in Configuration Update Manager 8

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

config_update_ui/src/Form/ConfigDeleteConfirmForm.php, line 126

Class

ConfigDeleteConfirmForm
Defines a confirmation form for deleting configuration.

Namespace

Drupal\config_update_ui\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, $config_type = NULL, $config_name = NULL) {
  $this->type = $config_type;
  $this->name = $config_name;
  $form = parent::buildForm($form, $form_state);
  return $form;
}