You are here

public function KernelRequest::processForm in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/BusinessRulesReactsOn/KernelRequest.php \Drupal\business_rules\Plugin\BusinessRulesReactsOn\KernelRequest::processForm()

Process the BusinessRule form for reactsOn plugins.

Parameters

array $form: The form array.

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

Overrides BusinessRulesReactsOnPlugin::processForm

File

src/Plugin/BusinessRulesReactsOn/KernelRequest.php, line 29

Class

KernelRequest
Class KernelRequest.

Namespace

Drupal\business_rules\Plugin\BusinessRulesReactsOn

Code

public function processForm(array &$form, FormStateInterface $form_state) {
  parent::processForm($form, $form_state);
  unset($form['entity']['context']);
}