Loading modules/varbase_admin/varbase_admin.install +11 −0 Original line number Diff line number Diff line Loading @@ -279,3 +279,14 @@ function varbase_admin_update_8605() { } } /** * Issue #3270834: Switch to use the Module Installer Factory. * * In the Varbase Admin module. */ function varbase_admin_update_90001() { // Set the weight of the module after installation of list of modules. // To make sure that any hook or event subscriber workes after all used modules. ModuleInstallerFactory::setModuleWeightAfterInstallation('varbase_admin'); } modules/varbase_internationalization/varbase_internationalization.install +11 −0 Original line number Diff line number Diff line Loading @@ -38,3 +38,14 @@ function varbase_internationalization_update_86001() { \Drupal::service('module_installer')->uninstall(['l10n_client_ui'], FALSE); } } /** * Issue #3270834: Switch to use the Module Installer Factory. * * In the Varbase Internationalization module. */ function varbase_internationalization_update_90001() { // Set the weight of the module after installation of list of modules. // To make sure that any hook or event subscriber workes after all used modules. ModuleInstallerFactory::setModuleWeightAfterInstallation('varbase_internationalization'); } modules/varbase_page/varbase_page.install +11 −0 Original line number Diff line number Diff line Loading @@ -28,3 +28,14 @@ function varbase_page_install() { ->applyUpdates(); } /** * Issue #3270834: Switch to use the Module Installer Factory. * * In the Varbase Page module. */ function varbase_page_update_90001() { // Set the weight of the module after installation of list of modules. // To make sure that any hook or event subscriber workes after all used modules. ModuleInstallerFactory::setModuleWeightAfterInstallation('varbase_page'); } modules/varbase_security/varbase_security.install +4 −11 Original line number Diff line number Diff line Loading @@ -125,19 +125,12 @@ function varbase_security_update_9004() { /** * Issue #3256029: Fix Revise password policy and password suggestions message. * * Change varbase security weight and make it after all modules installed by it. * Change Varbase Security weight and make it after all modules installed by it. */ function varbase_security_update_90004() { $module_path = Drupal::service('module_handler')->getModule('varbase_security')->getPath(); $module_info_file = $module_path . '/varbase_security.info.yml'; if (file_exists($module_info_file)) { $module_info_data = (array) Yaml::parse(file_get_contents($module_info_file)); if (isset($module_info_data['install']) && is_array($module_info_data['install'])) { // Set the weight of the module after installation of list of modules. // To make sure that any hook or event subscriber workes after all used modules. ModuleInstallerFactory::setModuleWeightAfterInstallation('varbase_security'); } } /** @var \Drupal\update_helper\Updater $updateHelper */ $updateHelper = \Drupal::service('update_helper.updater'); Loading modules/varbase_webform/varbase_webform.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ name: "Varbase Webform" description: "Provide webforms features and settings." type: module package: Varbase core_version_requirement: ^8 || ^9 core_version_requirement: ^9 dependencies: - webform:webform install: Loading Loading
modules/varbase_admin/varbase_admin.install +11 −0 Original line number Diff line number Diff line Loading @@ -279,3 +279,14 @@ function varbase_admin_update_8605() { } } /** * Issue #3270834: Switch to use the Module Installer Factory. * * In the Varbase Admin module. */ function varbase_admin_update_90001() { // Set the weight of the module after installation of list of modules. // To make sure that any hook or event subscriber workes after all used modules. ModuleInstallerFactory::setModuleWeightAfterInstallation('varbase_admin'); }
modules/varbase_internationalization/varbase_internationalization.install +11 −0 Original line number Diff line number Diff line Loading @@ -38,3 +38,14 @@ function varbase_internationalization_update_86001() { \Drupal::service('module_installer')->uninstall(['l10n_client_ui'], FALSE); } } /** * Issue #3270834: Switch to use the Module Installer Factory. * * In the Varbase Internationalization module. */ function varbase_internationalization_update_90001() { // Set the weight of the module after installation of list of modules. // To make sure that any hook or event subscriber workes after all used modules. ModuleInstallerFactory::setModuleWeightAfterInstallation('varbase_internationalization'); }
modules/varbase_page/varbase_page.install +11 −0 Original line number Diff line number Diff line Loading @@ -28,3 +28,14 @@ function varbase_page_install() { ->applyUpdates(); } /** * Issue #3270834: Switch to use the Module Installer Factory. * * In the Varbase Page module. */ function varbase_page_update_90001() { // Set the weight of the module after installation of list of modules. // To make sure that any hook or event subscriber workes after all used modules. ModuleInstallerFactory::setModuleWeightAfterInstallation('varbase_page'); }
modules/varbase_security/varbase_security.install +4 −11 Original line number Diff line number Diff line Loading @@ -125,19 +125,12 @@ function varbase_security_update_9004() { /** * Issue #3256029: Fix Revise password policy and password suggestions message. * * Change varbase security weight and make it after all modules installed by it. * Change Varbase Security weight and make it after all modules installed by it. */ function varbase_security_update_90004() { $module_path = Drupal::service('module_handler')->getModule('varbase_security')->getPath(); $module_info_file = $module_path . '/varbase_security.info.yml'; if (file_exists($module_info_file)) { $module_info_data = (array) Yaml::parse(file_get_contents($module_info_file)); if (isset($module_info_data['install']) && is_array($module_info_data['install'])) { // Set the weight of the module after installation of list of modules. // To make sure that any hook or event subscriber workes after all used modules. ModuleInstallerFactory::setModuleWeightAfterInstallation('varbase_security'); } } /** @var \Drupal\update_helper\Updater $updateHelper */ $updateHelper = \Drupal::service('update_helper.updater'); Loading
modules/varbase_webform/varbase_webform.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ name: "Varbase Webform" description: "Provide webforms features and settings." type: module package: Varbase core_version_requirement: ^8 || ^9 core_version_requirement: ^9 dependencies: - webform:webform install: Loading