function ExpressionFormInterface::validateForm
Form validation callback to validate expression elements.
Parameters
array $form: The form array.
\Drupal\Core\Form\FormStateInterface $form_state: The current form state.
2 methods override ExpressionFormInterface::validateForm()
- ActionForm::validateForm in src/
Form/ Expression/ ActionForm.php - Form validation callback to validate expression elements.
- ConditionForm::validateForm in src/
Form/ Expression/ ConditionForm.php - Form validation callback to validate expression elements.
File
-
src/
Form/ Expression/ ExpressionFormInterface.php, line 30
Class
- ExpressionFormInterface
- Defines methods for expression forms.
Namespace
Drupal\rules\Form\ExpressionCode
public function validateForm(array $form, FormStateInterface $form_state);