You are here

function business_rules_cache_flush in Business Rules 2.x

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

Implements hook_cache_flush().

File

./business_rules.module, line 415
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();
}