Same name and namespace in other branches
  1. 8.x-2.x advagg.api.php \hook_advagg_current_hooks_hash_array_alter() 1 comment

Allow other modules to add in their own settings and hooks.

Parameters

array $aggregate_settings: An associative array of hooks and settings used.

See also

advagg_current_hooks_hash_array()

advagg_js_compress_advagg_current_hooks_hash_array_alter()

Related topics

5 functions implement hook_advagg_current_hooks_hash_array_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

advagg_css_compress_advagg_current_hooks_hash_array_alter in advagg_css_compress/advagg_css_compress.module
Implements hook_advagg_current_hooks_hash_array_alter().
advagg_font_advagg_current_hooks_hash_array_alter in advagg_font/advagg_font.module
Implements hook_advagg_current_hooks_hash_array_alter().
advagg_js_compress_advagg_current_hooks_hash_array_alter in advagg_js_compress/advagg_js_compress.module
Implements hook_advagg_current_hooks_hash_array_alter().
advagg_mod_advagg_current_hooks_hash_array_alter in advagg_mod/advagg_mod.module
Implements hook_advagg_current_hooks_hash_array_alter().
advagg_relocate_advagg_current_hooks_hash_array_alter in advagg_relocate/advagg_relocate.module
Implements hook_advagg_current_hooks_hash_array_alter().
1 invocation of hook_advagg_current_hooks_hash_array_alter()
advagg_current_hooks_hash_array in ./advagg.module
Get an array of all hooks and settings that affect aggregated files contents.

File

./advagg.api.php, line 114

Code

function hook_advagg_current_hooks_hash_array_alter(array &$aggregate_settings) {
    $aggregate_settings['variables']['advagg_js_compressor'] = variable_get('advagg_js_compressor', ADVAGG_JS_COMPRESSOR);
    $aggregate_settings['variables']['advagg_js_compress_packer'] = variable_get('advagg_js_compress_packer', ADVAGG_JS_COMPRESS_PACKER);
    $aggregate_settings['variables']['advagg_js_compress_max_ratio'] = variable_get('advagg_js_compress_max_ratio', ADVAGG_JS_COMPRESS_MAX_RATIO);
}