You are here

public function BatchUpdateForm::submitForm in Entity Usage 8.2

Same name and namespace in other branches
  1. 8 src/Form/BatchUpdateForm.php \Drupal\entity_usage\Form\BatchUpdateForm::submitForm()
  2. 8.3 src/Form/BatchUpdateForm.php \Drupal\entity_usage\Form\BatchUpdateForm::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

src/Form/BatchUpdateForm.php, line 68

Class

BatchUpdateForm
Form to launch batch tracking of existing entities.

Namespace

Drupal\entity_usage\Form

Code

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