Let other modules tell advagg that a file has changed.

Useful for things like embedded images in CSS; generating a new aggregate when the image in the CSS file has changed.

Paramètres

string $filename: Name of the root CSS or JavaScript file.

Return value

bool Set to TRUE to trigger a rebuild of the aggregates that contain this file.

Voir aussi

advagg_scan_for_changes()

css_emimage_advagg_scan_for_changes()

Sujets associés

1 function implements hook_advagg_scan_for_changes()

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

advagg_advagg_scan_for_changes dans ./advagg.advagg.inc
Implements hook_advagg_scan_for_changes().
1 invocation of hook_advagg_scan_for_changes()
advagg_scan_for_changes dans ./advagg.cache.inc
Uses the database to scan CSS/JS files for changes.

Fichier

./advagg.api.php, line 609

Code

function hook_advagg_scan_for_changes($filename) {
    if ($filename) {
        return FALSE;
    }
}