You are here

public function BusinessRulesListener::itemPosDelete in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/EventSubscriber/BusinessRulesListener.php \Drupal\business_rules\EventSubscriber\BusinessRulesListener::itemPosDelete()

Remove the item references.

Parameters

\Drupal\business_rules\Events\BusinessRulesEvent $event: The event.

File

src/EventSubscriber/BusinessRulesListener.php, line 216

Class

BusinessRulesListener
Class BusinessRulesListener.

Namespace

Drupal\business_rules\EventSubscriber

Code

public function itemPosDelete(BusinessRulesEvent $event) {
  $this->util
    ->removeItemReferences($event);
}