You are here

public function BusinessRulesProcessor::__destruct in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Util/BusinessRulesProcessor.php \Drupal\business_rules\Util\BusinessRulesProcessor::__destruct()

Destructor.

File

src/Util/BusinessRulesProcessor.php, line 771

Class

BusinessRulesProcessor
Class BusinessRulesProcessor.

Namespace

Drupal\business_rules\Util

Code

public function __destruct() {
  if ($this->config
    ->get('clear_render_cache')) {
    Cache::invalidateTags([
      'rendered',
    ]);
  }
}