Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,10 @@ function os2uol_entity_forms_entity_presave(EntityInterface $entity) {
// Add the current domain ID.
$domain_ids[] = $current_domain->id();

// Add the default "Databrønden" domain ID.
$databroenden_domain_id = 'api_os2udoglaer_dk';
$domain_ids[] = $databroenden_domain_id;

// Retrieve the selected domains from the edit form.
$selected_domains = $entity->get('field_domain_access')->getValue();
foreach ($selected_domains as $selected_domain) {
Expand Down