You are here

public function D8CacheAttachmentsCollector::resetCurrentAttachmentsCollector in Drupal 8 Cache Backport 7

Reset the currently active attachments collector - if any.

File

./d8cache-ac.cache.inc, line 164

Class

D8CacheAttachmentsCollector
Special cache backend that tracks attachments.

Code

public function resetCurrentAttachmentsCollector() {
  if ($this->currentAttachmentsCollector) {
    $this->currentAttachmentsCollector
      ->reset();
  }
}