You are here

public function SelectProfileForm::submitForm in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Installer/Form/SelectProfileForm.php \Drupal\Core\Installer\Form\SelectProfileForm::submitForm()

Form submission handler.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Overrides FormInterface::submitForm

File

core/lib/Drupal/Core/Installer/Form/SelectProfileForm.php, line 91
Contains \Drupal\Core\Installer\Form\SelectProfileForm.

Class

SelectProfileForm
Provides the profile selection form.

Namespace

Drupal\Core\Installer\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  global $install_state;
  $install_state['parameters']['profile'] = $form_state
    ->getValue('profile');
}