Unverified Commit f0da4243 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
(cherry picked from commit 0394ef0b)
parent 7fb559dc
Loading
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -457,9 +457,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.