Skip to content

Commit 22e2542

Browse files
committed
BKDK-408 removing simple text title in accordion
1 parent 4a603f6 commit 22e2542

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

web/modules/custom/ballerup_d7_migration/config/install/migrate_plus.migration.ballerup_d7_paragraph_accordion.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@ source:
99
node_type: info_page
1010
track_changes: true
1111
process:
12-
migrate_heading:
12+
field_os2web_accordion_heading:
1313
plugin: skip_on_empty
1414
method: process
1515
source: field_accordion_title
1616
message: 'Field field_accordion_title is missing'
17-
field_os2web_accordion_heading:
18-
plugin: default_value
19-
value: ''
2017
field_os2web_accordion_reference:
2118
plugin: callback
2219
callable:

web/modules/custom/ballerup_d7_migration/src/Utility/MigrationHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function createAccordionItemParagraph($field_accordion) {
119119
// Creating text paragraph.
120120
$text_paragraph = Paragraph::create([
121121
'type' => 'os2web_simple_text_paragraph',
122-
'field_os2web_simple_text_heading' => $title,
122+
'field_os2web_simple_text_heading' => '',
123123
'field_os2web_simple_text_body' => [
124124
'value' => $text,
125125
'format' => 'wysiwyg_tekst'

0 commit comments

Comments
 (0)