public function EmbeddedComponentForm::validateForm in Rules 8.3
Form validation 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::validateForm
File
- src/
Form/ EmbeddedComponentForm.php, line 65
Class
- EmbeddedComponentForm
- Components form, ready to be embedded in some other form.
Namespace
Drupal\rules\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
$this->rulesUiHandler
->validateLock($form, $form_state);
$this
->getFormHandler()
->validateForm($form, $form_state);
}