You are here

function advagg_mod_inline_page_css in Advanced CSS/JS Aggregation 7.2

Returns TRUE if this page should have inline CSS.

Return value

bool TRUE or FALSE. Default is FALSE.

2 calls to advagg_mod_inline_page_css()
advagg_mod_advagg_current_hooks_hash_array_alter in advagg_mod/advagg_mod.module
Implements hook_advagg_current_hooks_hash_array_alter().
_advagg_mod_pre_render_styles in advagg_mod/advagg_mod.module
A #pre_render callback to inline all CSS on this page.

File

advagg_mod/advagg_mod.module, line 3237
Advanced aggregation modifier module.

Code

function advagg_mod_inline_page_css() {
  $visibility = variable_get('advagg_mod_inline_css_visibility', ADVAGG_MOD_VISIBILITY_LISTED);
  $pages = variable_get('advagg_mod_inline_css_pages', '');
  return advagg_mod_match_path($pages, $visibility);
}