You are here

public function CriticalCssProvider::getFilePaths in Critical CSS 8

Get all possible paths to search, relatives to theme.

Return value

array Array with all possible paths.

Overrides CriticalCssProviderInterface::getFilePaths

1 call to CriticalCssProvider::getFilePaths()
CriticalCssProvider::getCriticalCss in src/Asset/CriticalCssProvider.php
Get critical CSS contents.

File

src/Asset/CriticalCssProvider.php, line 242

Class

CriticalCssProvider
Critical CSS Provider.

Namespace

Drupal\critical_css\Asset

Code

public function getFilePaths() {
  if (!$this->filePaths) {
    $this->filePaths = $this
      ->calculateFilePaths();
  }
  return $this->filePaths;
}