Loading modules/custom/wxt_core/src/Commands/Hooks.php +2 −0 Original line number Diff line number Diff line Loading @@ -58,7 +58,9 @@ public function __construct(ProfileExtensionList $profile_list, $install_profile * @hook pre-command updatedb */ public function preUpdate() { \Drupal::state()->set('system.maintenance_mode', TRUE); drupal_flush_all_caches(); \Drupal::state()->set('system.maintenance_mode', FALSE); } /** Loading Loading
modules/custom/wxt_core/src/Commands/Hooks.php +2 −0 Original line number Diff line number Diff line Loading @@ -58,7 +58,9 @@ public function __construct(ProfileExtensionList $profile_list, $install_profile * @hook pre-command updatedb */ public function preUpdate() { \Drupal::state()->set('system.maintenance_mode', TRUE); drupal_flush_all_caches(); \Drupal::state()->set('system.maintenance_mode', FALSE); } /** Loading