From bab014e508847c7b43e778f817b5cbb5318f88cf Mon Sep 17 00:00:00 2001 From: Md Nadim Hossain Date: Thu, 12 Dec 2024 15:37:08 +1100 Subject: [PATCH] [SD-494] Enable linkset endpoint. (#563) --- modules/tide_site/tide_site.install | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/tide_site/tide_site.install b/modules/tide_site/tide_site.install index dde97518..8907fde6 100644 --- a/modules/tide_site/tide_site.install +++ b/modules/tide_site/tide_site.install @@ -89,3 +89,12 @@ function tide_site_update_10002() { } } } + +/** + * Enable linkset. + */ +function tide_site_update_10003() { + $system_feature_flags = \Drupal::configFactory()->getEditable('system.feature_flags'); + $system_feature_flags->set('linkset_endpoint', TRUE) + ->save(); +}