Returns TRUE if this page should have inline CSS and JS.

Return value

bool TRUE or FALSE. Default is FALSE.

4 calls to advagg_mod_inline_page()
advagg_mod_advagg_current_hooks_hash_array_alter dans advagg_mod/advagg_mod.module
Implements hook_advagg_current_hooks_hash_array_alter().
advagg_mod_advagg_modify_js_pre_render_alter dans advagg_mod/advagg_mod.module
Implements hook_advagg_modify_js_pre_render_alter().
_advagg_mod_pre_render_scripts dans advagg_mod/advagg_mod.module
Callback for pre_render to inline all JavaScript on this page.
_advagg_mod_pre_render_styles dans advagg_mod/advagg_mod.module
A #pre_render callback to inline all CSS on this page.

Fichier

advagg_mod/advagg_mod.module, line 3225

Code

function advagg_mod_inline_page() {
    $visibility = variable_get('advagg_mod_inline_visibility', ADVAGG_MOD_VISIBILITY_LISTED);
    $pages = variable_get('advagg_mod_inline_pages', '');
    return advagg_mod_match_path($pages, $visibility);
}