function ExpressionFormInterface::form
Adds elements specific to the expression to the form.
Parameters
array $form: The form array.
\Drupal\Core\Form\FormStateInterface $form_state: The current form state.
5 methods override ExpressionFormInterface::form()
- ActionContainerForm::form in src/
Form/ Expression/ ActionContainerForm.php - Adds elements specific to the expression to the form.
- ActionForm::form in src/
Form/ Expression/ ActionForm.php - Adds elements specific to the expression to the form.
- ConditionContainerForm::form in src/
Form/ Expression/ ConditionContainerForm.php - Adds elements specific to the expression to the form.
- ConditionForm::form in src/
Form/ Expression/ ConditionForm.php - Adds elements specific to the expression to the form.
- RuleExpressionForm::form in src/
Form/ Expression/ RuleExpressionForm.php - Adds elements specific to the expression to the form.
File
-
src/
Form/ Expression/ ExpressionFormInterface.php, line 20
Class
- ExpressionFormInterface
- Defines methods for expression forms.
Namespace
Drupal\rules\Form\ExpressionCode
public function form(array $form, FormStateInterface $form_state);