projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
modules
/
comment
/
migration_templates
/
d6_comment_entity_display.yml
diff --git
a/web/core/modules/comment/migration_templates/d6_comment_entity_display.yml
b/web/core/modules/comment/migration_templates/d6_comment_entity_display.yml
index c650673188a9c3dc292d0ebcc8aa45b9b51e9963..89e159c47c83d8292a4eecc38d3d42620a65fb0e 100644
(file)
--- a/
web/core/modules/comment/migration_templates/d6_comment_entity_display.yml
+++ b/
web/core/modules/comment/migration_templates/d6_comment_entity_display.yml
@@
-3,10
+3,9
@@
label: Comment display configuration
migration_tags:
- Drupal 6
source:
migration_tags:
- Drupal 6
source:
- plugin: d6_
comment_variabl
e
+ plugin: d6_
node_typ
e
constants:
entity_type: node
constants:
entity_type: node
- field_name: comment
view_mode: default
options:
label: hidden
view_mode: default
options:
label: hidden
@@
-14,10
+13,17
@@
source:
weight: 20
process:
entity_type: 'constants/entity_type'
weight: 20
process:
entity_type: 'constants/entity_type'
- field_name: 'constants/field_name'
+ field_name:
+ -
+ plugin: migration_lookup
+ source: type
+ migration: d6_comment_type
+ -
+ plugin: skip_on_empty
+ method: row
view_mode: 'constants/view_mode'
options: 'constants/options'
view_mode: 'constants/view_mode'
options: 'constants/options'
- bundle:
node_
type
+ bundle: type
destination:
plugin: component_entity_display
migration_dependencies:
destination:
plugin: component_entity_display
migration_dependencies: