function FormController::validateForm
Same name in other branches
- 9 core/modules/system/tests/modules/condition_test/src/FormController.php \Drupal\condition_test\FormController::validateForm()
- 8.9.x core/modules/system/tests/modules/condition_test/src/FormController.php \Drupal\condition_test\FormController::validateForm()
- 11.x core/modules/system/tests/modules/condition_test/src/FormController.php \Drupal\condition_test\FormController::validateForm()
Implements \Drupal\Core\Form\FormInterface::validateForm().
Overrides FormInterface::validateForm
File
-
core/
modules/ system/ tests/ modules/ condition_test/ src/ FormController.php, line 71
Class
- FormController
- Routing controller class for condition_test testing of condition forms.
Namespace
Drupal\condition_testCode
public function validateForm(array &$form, FormStateInterface $form_state) {
$subformState = SubformState::createForSubform($form['entity_bundle'], $form, $form_state);
$this->condition
->validateConfigurationForm($form['entity_bundle'], $subformState);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.