From 18e464a732f4a046fff8ee38387563177e0777cc Mon Sep 17 00:00:00 2001 From: Md Nadim Hossain Date: Thu, 7 Dec 2023 16:05:44 +1100 Subject: [PATCH] Added back hook to enable data pipeline. --- tide_search.install | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tide_search.install b/tide_search.install index 3be5855..7ef2dd1 100644 --- a/tide_search.install +++ b/tide_search.install @@ -14,3 +14,13 @@ function tide_search_install() { $tideSearchOperation = new TideSearchOperation(); $tideSearchOperation->removeTideAlertFromDatasource(); } + +/** + * Install module tide_data_pipeline. + */ +function tide_search_update_10001() { + if (!\Drupal::moduleHandler()->moduleExists('tide_data_pipeline')) { + $module_installer = \Drupal::service('module_installer'); + $module_installer->install(['tide_data_pipeline']); + } +}