Implements hook_update_N().
Updates all the stored file information.
File
-
./
advagg.install, line 135
Code
function advagg_update_8201() {
$advagg_files = \Drupal::service('state.advagg.files');
$files = $advagg_files->getAll();
foreach ($files as $file => $cached) {
$advagg_files->scanFile($file, $cached);
}
}