Remove .less files from the array.
Paramètres
$css_func: Drupal CSS array.
1 call to advagg_css_array_fixer()
- advagg_process_html_css dans includes/
css.inc
Fichier
-
./
advagg.module, line 656
Code
function advagg_css_array_fixer(&$css_func) {
if (!module_exists('less')) {
return;
}
// Remove '.css.less' files from the stack.
foreach ($css_func as $k => $v) {
foreach ($v as $ke => $va) {
foreach ($va as $file => $preprocess) {
if (substr($file, -5) === '.less') {
unset($css_func[$k][$ke][$file]);
}
}
}
}
}