Skip to content
Snippets Groups Projects
Commit 04d9a410 authored by catch's avatar catch
Browse files

Issue #3070747 by immaculatexavier, herved, alexpott, yoruvo: Profile paths...

Issue #3070747 by immaculatexavier, herved, alexpott, yoruvo: Profile paths are not updated after moving them to other directories

(cherry picked from commit e9a1ea2a)
parent 7f1f0ab7
No related branches found
No related tags found
No related merge requests found
...@@ -558,7 +558,9 @@ function drupal_flush_all_caches($kernel = NULL) { ...@@ -558,7 +558,9 @@ function drupal_flush_all_caches($kernel = NULL) {
// Wipe the Twig PHP Storage cache. // Wipe the Twig PHP Storage cache.
\Drupal::service('twig')->invalidate(); \Drupal::service('twig')->invalidate();
// Rebuild theme data that is stored in state. // Rebuild profile, profile, theme_engine and theme data.
\Drupal::service('extension.list.profile')->reset();
\Drupal::service('extension.list.theme_engine')->reset();
\Drupal::service('theme_handler')->refreshInfo(); \Drupal::service('theme_handler')->refreshInfo();
// In case the active theme gets requested later in the same request we need // In case the active theme gets requested later in the same request we need
// to reset the theme manager. // to reset the theme manager.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment