function advagg_bundler_enabled in Advanced CSS/JS Aggregation 7.2
Same name and namespace in other branches
- 8.2 advagg_bundler/advagg_bundler.module \advagg_bundler_enabled()
Returns TRUE if the bundler will run.
3 calls to advagg_bundler_enabled()
- advagg_bundler_advagg_build_aggregate_plans_alter in advagg_bundler/
advagg_bundler.advagg.inc - Implements hook_advagg_build_aggregate_plans_alter().
- advagg_bundler_form_advagg_admin_settings_form_alter in advagg_bundler/
advagg_bundler.module - Implements hook_form_FORM_ID_alter().
- advagg_bundler_init in advagg_bundler/
advagg_bundler.module - Implements hook_init().
File
- advagg_bundler/
advagg_bundler.module, line 115 - Advanced aggregation bundler module.
Code
function advagg_bundler_enabled() {
if (variable_get('advagg_bundler_active', ADVAGG_BUNDLER_ACTIVE) && (variable_get('advagg_bundler_max_css', ADVAGG_BUNDLER_MAX_CSS) || variable_get('advagg_bundler_max_js', ADVAGG_BUNDLER_MAX_JS))) {
return TRUE;
}
}