Let other modules know about the aggregate files that have been removed.

Paramètres

array $kill_list: An array of aggregate files that have been removed.

Voir aussi

advagg_delete_files_if_stale()

Sujets associés

1 function implements hook_advagg_removed_aggregates()

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

advagg_sri_advagg_removed_aggregates dans advagg_sri/advagg_sri.advagg.inc
Implements hook_advagg_removed_aggregates().
4 invocations of hook_advagg_removed_aggregates()
advagg_delete_files_if_empty dans ./advagg.cache.inc
Given an array of files remove that file if it is empty.
advagg_delete_files_if_orphaned dans ./advagg.cache.inc
Given an array of files remove that file if there is no associated db record.
advagg_delete_files_if_stale dans ./advagg.cache.inc
Given an array of files remove that file if atime is grater than 30 days.
advagg_remove_all_aggregated_files dans ./advagg.cache.inc
Remove all files from the advagg CSS/JS directories.

Fichier

./advagg.api.php, line 585

Code

function hook_advagg_removed_aggregates(array $kill_list) {
    foreach ($kill_list as $uri) {
        if ($uri) {
            // This is the uri.
        }
        // Do something else.
    }
}