Skip to content

Commit

Permalink
Populate Org nav links
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurbaghdas committed Sep 6, 2023
1 parent 0adf6d0 commit c604ddd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docroot/modules/custom/mass_content/mass_content.deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit c604ddd

Please sign in to comment.