1 redirect.module redirect_redirect_update(Redirect $redirect)

Implements hook_redirect_update().

File

core/modules/redirect/redirect.module, line 739

Code

function redirect_redirect_update(Redirect $redirect) {
  redirect_page_cache_clear($redirect);

  // Clear the page cache for the original redirect as well.
  if (!empty($redirect->original) && $redirect->original->source != $redirect->source) {
    redirect_page_cache_clear($redirect->original);
  }
}