public function ReactionRuleEditForm::buildForm in Rules 8.3
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides EntityForm::buildForm
File
- src/
Form/ ReactionRuleEditForm.php, line 56
Class
- ReactionRuleEditForm
- Provides a form to edit a reaction rule.
Namespace
Drupal\rules\FormCode
public function buildForm(array $form, FormStateInterface $form_state, RulesUiConfigHandler $rules_ui_handler = NULL) {
// Overridden so that we can receive further route parameters.
$this->rulesUiHandler = $rules_ui_handler;
return parent::buildForm($form, $form_state);
}