Skip to content

Commit

Permalink
Improved saving.
Browse files Browse the repository at this point in the history
  • Loading branch information
joegl committed Aug 14, 2023
1 parent c2bdfd0 commit b74e500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docroot/profiles/sdss/sdss_profile/sdss_profile.install
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function sdss_profile_update_9000(&$sandbox) {
'target_revision_id' => $section_paragraph->getRevisionId(),
];
array_splice($components_list, $section_delta, 0, ['entity' => $section_paragraph_entity_reference]);
$node->get('su_news_components')->setValue($components_list);
$node->set('su_page_components', $components_list)->save();
$node->save();
}
}
Expand Down

0 comments on commit b74e500

Please sign in to comment.