From c604dddf02777aef8b1d717bbeeba12c253dafdb Mon Sep 17 00:00:00 2001 From: abaghdasaryan Date: Wed, 6 Sep 2023 09:55:13 +0400 Subject: [PATCH] Populate Org nav links --- docroot/modules/custom/mass_content/mass_content.deploy.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docroot/modules/custom/mass_content/mass_content.deploy.php b/docroot/modules/custom/mass_content/mass_content.deploy.php index fe92993394..5e712e9bbf 100644 --- a/docroot/modules/custom/mass_content/mass_content.deploy.php +++ b/docroot/modules/custom/mass_content/mass_content.deploy.php @@ -835,7 +835,7 @@ function mass_content_set_feedback_fields($node) { $title = sprintf('contact the %s', trim(preg_replace('#^the #i', '', $contact))); $node->set('field_feedback_com_link', [ 'uri' => $uri, - 'title' => $title + 'title' => $title, ]); if ($node->field_constituent_communication->value == 'link' || $node->field_constituent_communication->value == 'contact') { @@ -970,9 +970,7 @@ function mass_content_deploy_org_page_navigation_migration(&$sandbox) { } /** - * @param $node - * - * @return void + * Helper function to populate org navigation. */ function mass_content_org_node_navigation_helper($node) { $changed = FALSE;