Unverified Commit 0394ef0b authored by Alex Pott's avatar Alex Pott
Browse files

perf: #3593202 Drop the explicit clear of plugin caches in drupal_flush_all_caches()

By: catch
By: longwave
parent 14676bf6
Loading
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -445,9 +445,6 @@ function drupal_flush_all_caches($kernel = NULL): void {
  // Rebuild all information based on new module data.
  \Drupal::moduleHandler()->invokeAll('rebuild');

  // Clear all plugin caches.
  \Drupal::service('plugin.cache_clearer')->clearCachedDefinitions();

  // Rebuild the menu router based on all rebuilt data.
  // Important: This rebuild must happen last, so the menu router is guaranteed
  // to be based on up to date information.