Same name in other branches
- 7.x-2.x advagg.module \advagg_css_in_js()
Returns TRUE if the CSS is being loaded via JavaScript.
Return value
bool TRUE if CSS loaded via JS. FALSE if not.
Fichier
-
./
advagg.module, line 311
Code
function advagg_css_in_js() {
if (\Drupal::moduleHandler()->moduleExists('advagg_mod') && \Drupal::config('advagg_mod.settings')->get('css_defer')) {
return TRUE;
}
return \Drupal::config('advagg.settings')->get('advagg_css_in_js');
}