You are here

function hook_critical_css_file_paths_suggestion_alter in Critical CSS 8

Alter the possible paths to search critical CSS files.

Parameters

array $file_paths: The critical CSS files array.

\Drupal\Core\Entity\ContentEntityInterface $entity: The current entity used.

1 invocation of hook_critical_css_file_paths_suggestion_alter()
CriticalCssProvider::calculateFilePaths in src/Asset/CriticalCssProvider.php
Get all possible paths to search, relatives to theme.

File

./critical_css.api.php, line 18
Critical CSS hooks.

Code

function hook_critical_css_file_paths_suggestion_alter(array &$file_paths, ContentEntityInterface $entity) {
}