Skip to content

Commit

Permalink
Merge branch 'release/3.0.14-p1'
Browse files Browse the repository at this point in the history
Release/3.0.14-p1
  • Loading branch information
MdNadimHossain committed Jul 25, 2022
2 parents 9ac522b + 146aa3d commit 9e8e812
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dpc-sdp/tide_alert": "3.0.0",
"dpc-sdp/tide_api": "3.0.4",
"dpc-sdp/tide_authenticated_content": "3.0.3",
"dpc-sdp/tide_core": "3.1.9",
"dpc-sdp/tide_core": "3.1.10",
"dpc-sdp/tide_demo_content": "3.0.6",
"dpc-sdp/tide_event": "3.0.0",
"dpc-sdp/tide_event_atdw": "3.0.0",
Expand All @@ -19,7 +19,7 @@
"dpc-sdp/tide_page": "3.0.0",
"dpc-sdp/tide_profile": "3.0.0",
"dpc-sdp/tide_publication": "3.0.0",
"dpc-sdp/tide_search": "3.0.3",
"dpc-sdp/tide_search": "3.0.4",
"dpc-sdp/tide_site": "3.0.4",
"dpc-sdp/tide_test": "3.0.1",
"dpc-sdp/tide_webform": "3.0.2"
Expand Down
11 changes: 11 additions & 0 deletions tide.install
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,15 @@ function tide_install() {
if (file_exists(DRUPAL_ROOT . DIRECTORY_SEPARATOR . 'modules' . DIRECTORY_SEPARATOR . 'contrib' . DIRECTORY_SEPARATOR . 'redis')) {
\Drupal::service('module_installer')->install(['redis']);
}
// These viewes are replaced by custom views provided by tide_site.
$view_ids = [
'content',
'moderated_content',
];
foreach ($view_ids as $view_id) {
$view = \Drupal::entityTypeManager()->getStorage('view')->load($view_id);
if ($view) {
$view->setStatus(FALSE)->save();
}
}
}

0 comments on commit 9e8e812

Please sign in to comment.