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

Issue #3053039: Mark all updates by the update helper checklist as successful on install

parent 6a2876c3
No related branches found
No related tags found
No related merge requests found
......@@ -441,6 +441,12 @@ function varbase_uninstall_component($uninstall_component) {
*/
function varbase_after_install_finished(array &$install_state) {
// Mark all updates by the update helper checklist as successful on install.
if (\Drupal::moduleHandler()->moduleExists('update_helper_checklist')) {
$checkList = \Drupal::service('update_helper_checklist.update_checklist');
$checkList->markAllUpdates();
}
// Activate Varbase Bootstrap Paragraphs Settings in the active config.
if (\Drupal::moduleHandler()->moduleExists('varbase_bootstrap_paragraphs')) {
$profile_path = drupal_get_path('profile', 'varbase') . '/config/optional/';
......
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