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_subject.yml
diff --git
a/web/core/modules/comment/migration_templates/d7_comment_entity_form_display_subject.yml
b/web/core/modules/comment/migration_templates/d7_comment_entity_form_display_subject.yml
index c27303e8760ce201b4baeb29e82fcbc291bf08b9..b131c0ab6271b973214b664c732ff922df35b53f 100644
(file)
--- a/
web/core/modules/comment/migration_templates/d7_comment_entity_form_display_subject.yml
+++ b/
web/core/modules/comment/migration_templates/d7_comment_entity_form_display_subject.yml
@@
-3,7
+3,7
@@
label: Comment subject form display configuration
migration_tags:
- Drupal 7
source:
migration_tags:
- Drupal 7
source:
- plugin: d7_
comment
_type
+ plugin: d7_
node
_type
constants:
entity_type: comment
field_name: subject
constants:
entity_type: comment
field_name: subject
@@
-16,13
+16,23
@@
process:
field_name: 'constants/field_name'
form_mode: 'constants/form_mode'
options: 'constants/options'
field_name: 'constants/field_name'
form_mode: 'constants/form_mode'
options: 'constants/options'
+ bundle:
+ -
+ plugin: migration_lookup
+ source: type
+ migration: d7_comment_type
+ -
+ plugin: skip_on_empty
+ method: row
hidden:
plugin: static_map
hidden:
plugin: static_map
- source:
subject
+ source:
comment_subject_field
map:
map:
+ # If comment_subject_field = FALSE, then hidden = TRUE.
0: true
0: true
+ # If comment_subject_field = TRUE, then hidden = FALSE.
1: false
1: false
-
bundle: bundl
e
+
default_value: fals
e
destination:
plugin: component_entity_form_display
migration_dependencies:
destination:
plugin: component_entity_form_display
migration_dependencies: