Skip to content
Snippets Groups Projects
Commit 499ea646 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3102065: Add a necessary initialization for the entire system to...

Issue #3102065: Add a necessary initialization for the entire system to account for changed config by the end of the installation
parent 88626e17
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,20 @@ function varbase_install() { ...@@ -49,6 +49,20 @@ function varbase_install() {
->getInstanceFromDefinition(VarbaseEntityDefinitionUpdateManager::class) ->getInstanceFromDefinition(VarbaseEntityDefinitionUpdateManager::class)
->applyUpdates(); ->applyUpdates();
// Full flash and clear cash and rebuilding newly created routes.
// After install of extra modules by install: in the .info.yml files.
// In Varbase profile and all Varbase components.
// ---------------------------------------------------------------------------
// * Necessary inlitilization for the entire system.
// * Account for changed config by the end install.
// * Flush all persistent caches.
// * Flush asset file caches.
// * Wipe the Twig PHP Storage cache.
// * Rebuild module and theme data.
// * Clear all plugin caches.
// * Rebuild the menu router based on all rebuilt data.
drupal_flush_all_caches();
// If Varbase Tour were enabled then redirect to the homepage with activ tour. // If Varbase Tour were enabled then redirect to the homepage with activ tour.
if (isset($GLOBALS['homepage_with_varbase_tour']) if (isset($GLOBALS['homepage_with_varbase_tour'])
&& $GLOBALS['homepage_with_varbase_tour'] == TRUE) { && $GLOBALS['homepage_with_varbase_tour'] == TRUE) {
......
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