public function KernelRequest::processForm in Business Rules 8
Same name and namespace in other branches
- 2.x 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\BusinessRulesReactsOnCode
public function processForm(array &$form, FormStateInterface $form_state) {
parent::processForm($form, $form_state);
unset($form['entity']['context']);
}