You are here

public function CriticalCssProvider::reset in Critical CSS 8

Reset provider so calculations are made again.

Overrides CriticalCssProviderInterface::reset

File

src/Asset/CriticalCssProvider.php, line 371

Class

CriticalCssProvider
Critical CSS Provider.

Namespace

Drupal\critical_css\Asset

Code

public function reset() {
  $this->isAlreadyProcessed = FALSE;
  $this->filePaths = [];
  $this->matchedFilePath = NULL;
}