You are here

function business_rules_cache_flush in Business Rules 8

Same name and namespace in other branches
  1. 2.x business_rules.module \business_rules_cache_flush()

Implements hook_cache_flush().

File

./business_rules.module, line 405
Business Rules module.

Code

function business_rules_cache_flush() {
  $key_value = \Drupal::keyValueExpirable('business_rules.debug');
  $key_value
    ->deleteAll();
  $key_value = \Drupal::keyValueExpirable('business_rules.token_tree');
  $key_value
    ->deleteAll();
}