You are here

public function SaveEntityVariableAction::buildForm in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/BusinessRulesAction/SaveEntityVariableAction.php \Drupal\business_rules\Plugin\BusinessRulesAction\SaveEntityVariableAction::buildForm()

Form constructor.

Give a chance to plugin to change the buildForm method.

Parameters

array $form: The form array.

\Drupal\Core\Form\FormStateInterface $form_state: The form state object.

Overrides BusinessRulesItemPluginBase::buildForm

File

src/Plugin/BusinessRulesAction/SaveEntityVariableAction.php, line 91

Class

SaveEntityVariableAction
Class SaveEntityVariableAction.

Namespace

Drupal\business_rules\Plugin\BusinessRulesAction

Code

public function buildForm(array &$form, FormStateInterface $form_state) {
  unset($form['variables']);
}