public function ContentUpdateSelectForm::submitForm in GatherContent 8.4
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 ContentSelectForm::submitForm
File
- gathercontent_ui/
src/ Form/ ContentUpdateSelectForm.php, line 24
Class
- ContentUpdateSelectForm
- Class ContentUpdateSelectForm.
Namespace
Drupal\gathercontent_ui\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$this->store
->set('nodes', array_filter($form_state
->getValue('nodes')));
$form_state
->setRedirect('gathercontent_ui.update_confirm_form');
}