public function FormEntityAddForm::submitSelectPlugin in Flexiform 8
Submit the plugin selection.
File
- src/
Form/ FormEntityAddForm.php, line 79
Class
- FormEntityAddForm
- Provides a form for adding new entity forms.
Namespace
Drupal\flexiform\FormCode
public function submitSelectPlugin(array $form, FormStateInterface $form_state) {
$form_state
->set('selected_form_entity', $form_state
->getValue('form_entity'));
$form_state
->setRebuild();
}