You are here

public function DeleteExpressionForm::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 ConfirmFormBase::buildForm

File

src/Form/DeleteExpressionForm.php, line 39

Class

DeleteExpressionForm
Removes an expression from a rule.

Namespace

Drupal\rules\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, RulesUiHandlerInterface $rules_ui_handler = NULL, $uuid = NULL) {
  $this->rulesUiHandler = $rules_ui_handler;
  $this->uuid = $uuid;
  return parent::buildForm($form, $form_state);
}