You are here

function fastly_update_8001 in Fastly 8.3

Purge cache after module update.

File

./fastly.install, line 44
Install, update, and uninstall functions for the Fastly module.

Code

function fastly_update_8001(&$sandbox) {
  $link = Link::createFromRoute('/admin/config/services/fastly', 'fastly.settings');
  return t("Cache tag hashing algorithm has changed with the latest module version so you'll need to purge your entire service cache manually if you currently use cache tags. You can do that by either visiting fastly settings form (@link) and clicking on 'Purge whole service' action or going directly to your fastly dashboard and do it from there.", [
    '@link' => $link
      ->toString(),
  ]);
}