Same name in other branches
- 7.x-2.x advagg.module \advagg_hook_info()
Implements hook_hook_info().
File
-
./
advagg.module, line 15
Code
function advagg_hook_info() {
// List of hooks that should be inside of *.advagg.inc files.
// All advagg hooks except for:
// advagg_current_hooks_hash_array_alter
// advagg_hooks_implemented_alter
// because these 3 hooks are used on most requests.
$advagg_hooks = [
'advagg_aggregate_grouping_alter',
'advagg_css_contents_alter',
'advagg_js_contents_alter',
'advagg_scan_file_alter',
];
$hooks = [];
foreach ($advagg_hooks as $hook) {
$hooks[$hook] = [
'group' => 'advagg',
];
}
return $hooks;
}