You are here

public function UpdateRunnerForm::submitForm in Scheduled Updates 8

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

src/Form/UpdateRunnerForm.php, line 64
Contains \Drupal\scheduled_updates\Form\UpdateRunnerForm.

Class

UpdateRunnerForm
Class UpdateRunnerForm.

Namespace

Drupal\scheduled_updates\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  $this->scheduled_updates_update_runner
    ->runAllUpdates();
}