public function BusinessRulesListener::onTerminate in Business Rules 8
Same name and namespace in other branches
- 2.x src/EventSubscriber/BusinessRulesListener.php \Drupal\business_rules\EventSubscriber\BusinessRulesListener::onTerminate()
Run the necessary commands on terminate event.
Parameters
\Symfony\Component\EventDispatcher\Event $event: The terminate event.
File
- src/
EventSubscriber/ BusinessRulesListener.php, line 226
Class
- BusinessRulesListener
- Class BusinessRulesListener.
Namespace
Drupal\business_rules\EventSubscriberCode
public function onTerminate(Event $event) {
// $key_value = \Drupal::keyValueExpirable('business_rules.debug');
// $key_value->deleteAll();
}