Skip to content

Commit

Permalink
Merge pull request #763 from City-of-Helsinki/UHF-10063
Browse files Browse the repository at this point in the history
UHF-10063 Enable help module
  • Loading branch information
khalima authored May 22, 2024
2 parents f242ff9 + 28f68ed commit 754e1cf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions helfi_platform_config.install
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,15 @@ function helfi_platform_config_update_9307() : void {
}
}
}

/**
* UHF-10063: Enable help module to prevent errors during twig:compile.
*/
function helfi_platform_config_update_9308() : void {
$module_installer = \Drupal::service('module_installer');

// Enable help module.
if (!\Drupal::moduleHandler()->moduleExists('help')) {
$module_installer->install(['help']);
}
}

0 comments on commit 754e1cf

Please sign in to comment.