You are here

function hook_advagg_removed_aggregates in Advanced CSS/JS Aggregation 7.2

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

Parameters

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

See also

advagg_delete_files_if_stale()

Related topics

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

File

./advagg.api.php, line 585
Hooks provided by the AdvAgg module.

Code

function hook_advagg_removed_aggregates(array $kill_list) {
  foreach ($kill_list as $uri) {
    if ($uri) {

      // This is the uri.
    }

    // Do something else.
  }
}