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
/
d7_comment_entity_form_display.yml
diff --git
a/web/core/modules/comment/migration_templates/d7_comment_entity_form_display.yml
b/web/core/modules/comment/migration_templates/d7_comment_entity_form_display.yml
index 0315c4a4518f82f0f37972468730598fc11fd8ae..48bb7bc5708278c9f4e085c651076794c6755e96 100644
(file)
--- a/
web/core/modules/comment/migration_templates/d7_comment_entity_form_display.yml
+++ b/
web/core/modules/comment/migration_templates/d7_comment_entity_form_display.yml
@@
-3,20
+3,26
@@
label: Comment field form display configuration
migration_tags:
- Drupal 7
source:
migration_tags:
- Drupal 7
source:
- plugin: d7_
comment
_type
+ plugin: d7_
node
_type
constants:
entity_type: node
constants:
entity_type: node
- field_name: comment
form_mode: default
options:
type: comment_default
weight: 20
process:
entity_type: 'constants/entity_type'
form_mode: default
options:
type: comment_default
weight: 20
process:
entity_type: 'constants/entity_type'
- field_name: 'constants/field_name'
+ field_name:
+ -
+ plugin: migration_lookup
+ source: type
+ migration: d7_comment_type
+ -
+ plugin: skip_on_empty
+ method: row
form_mode: 'constants/form_mode'
options: 'constants/options'
form_mode: 'constants/form_mode'
options: 'constants/options'
- bundle:
node_
type
+ bundle: type
destination:
plugin: component_entity_form_display
migration_dependencies:
destination:
plugin: component_entity_form_display
migration_dependencies: