fixed programme text format
This commit is contained in:
@@ -11,9 +11,9 @@ source:
|
||||
plugin: d7_node_programme
|
||||
node_type: popsu_special
|
||||
batch_size: 500
|
||||
high_water_property:
|
||||
name: changed
|
||||
alias: n
|
||||
# high_water_property:
|
||||
# name: changed
|
||||
# alias: n
|
||||
|
||||
destination:
|
||||
plugin: entity:node
|
||||
|
@@ -97,7 +97,8 @@ class D7NodeProgramme extends D7Programme {
|
||||
if (!empty($special[$field])) {
|
||||
// creating the sous partie contents (sub paragraphes)
|
||||
$text = $special[$field][0];
|
||||
$text[0]['format'] = 'wysiwyg';
|
||||
// TODO: bad format http://dev.d9.popsu.archi.fr/node/213/edit?
|
||||
$text['format'] = 'wysiwyg';
|
||||
$p = Paragraph::create(['type' => 'sous_partie_programme_contents']);
|
||||
$p->set('field_texte', $text)
|
||||
->set('field_titre', $special['title'])
|
||||
|
Reference in New Issue
Block a user