public function ReExportEntitiesForm::submitForm in Acquia Content Hub 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/ ReExportEntitiesForm.php, line 103
Class
- ReExportEntitiesForm
- Defines the form to register the webhooks.
Namespace
Drupal\acquia_contenthub\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$batch_size = $form_state
->getValue('batch_size');
$this->reindex
->reExportEntitiesAfterReindex($batch_size);
}