public function CriticalCssProvider::getMatchedFilePath in Critical CSS 8
Get matched file path.
Return value
string|null Matched file path, or null if nothing found.
Overrides CriticalCssProviderInterface::getMatchedFilePath
File
- src/
Asset/ CriticalCssProvider.php, line 352
Class
- CriticalCssProvider
- Critical CSS Provider.
Namespace
Drupal\critical_css\AssetCode
public function getMatchedFilePath() {
// Ensure $this->getCriticalCss() is called before returning anything.
if (!$this->isAlreadyProcessed) {
$this
->getCriticalCss();
}
return $this->matchedFilePath;
}