Skip to content

Commit

Permalink
[SD-563] Added hook to roll out tide_data_driven_component for all cms.
Browse files Browse the repository at this point in the history
  • Loading branch information
MdNadimHossain committed Dec 12, 2024
1 parent bab014e commit f1e13ba
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tide_core.install
Original file line number Diff line number Diff line change
Expand Up @@ -316,3 +316,15 @@ function tide_core_update_10010() {
$module_installer->install(['tide_tfa']);
}
}

/**
* Enabled tide_data_driven_component module.
*/
function tide_core_update_10011() {
$moduleHandler = \Drupal::service('module_handler');
$moduleInstaller = \Drupal::service('module_installer');
// Enable tide_data_driven_component.
if (!$moduleHandler->moduleExists('tide_data_driven_component')) {
$moduleInstaller->install(['tide_data_driven_component']);
}
}

0 comments on commit f1e13ba

Please sign in to comment.