Skip to content

Commit

Permalink
chore: expose pragraph type published fields in form so we can contro…
Browse files Browse the repository at this point in the history
…l publication per translation

Refs: UNO-608
  • Loading branch information
orakili committed Jun 13, 2023
1 parent 8ee2915 commit e36d549
Show file tree
Hide file tree
Showing 22 changed files with 295 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,17 @@ content:
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 4
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 3
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
13 changes: 12 additions & 1 deletion config/core.entity_form_display.paragraph.campaign.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
status:
type: boolean_checkbox
weight: 2
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 1
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
13 changes: 12 additions & 1 deletion config/core.entity_form_display.paragraph.cbpf.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,17 @@ content:
settings:
placeholder: ''
third_party_settings: { }
status:
type: boolean_checkbox
weight: 8
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 7
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
13 changes: 12 additions & 1 deletion config/core.entity_form_display.paragraph.donors.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ content:
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 3
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 2
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
13 changes: 12 additions & 1 deletion config/core.entity_form_display.paragraph.events.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@ content:
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 2
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 1
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
15 changes: 13 additions & 2 deletions config/core.entity_form_display.paragraph.figures.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ content:
third_party_settings: { }
paragraph_view_mode:
type: paragraph_view_mode
weight: -100
weight: 0
region: content
settings:
view_modes:
Expand All @@ -70,6 +70,17 @@ content:
default_view_mode: default
form_mode_bind: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 6
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
13 changes: 12 additions & 1 deletion config/core.entity_form_display.paragraph.image.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ content:
settings:
media_types: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 2
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 1
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
13 changes: 12 additions & 1 deletion config/core.entity_form_display.paragraph.layout.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ content:
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 4
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 3
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
17 changes: 14 additions & 3 deletions config/core.entity_form_display.paragraph.leader.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ mode: default
content:
field_single_node:
type: options_select
weight: 0
weight: 1
region: content
settings: { }
third_party_settings: { }
paragraph_view_mode:
type: paragraph_view_mode
weight: -100
weight: 0
region: content
settings:
view_modes:
Expand All @@ -31,6 +31,17 @@ content:
default_view_mode: default
form_mode_bind: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 3
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 2
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
21 changes: 16 additions & 5 deletions config/core.entity_form_display.paragraph.node.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mode: default
content:
field_node:
type: entity_reference_autocomplete
weight: 2
weight: 3
region: content
settings:
match_operator: CONTAINS
Expand All @@ -28,23 +28,23 @@ content:
third_party_settings: { }
field_text:
type: text_textarea
weight: 1
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_title:
type: string_textfield
weight: 0
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
paragraph_view_mode:
type: paragraph_view_mode
weight: -100
weight: 0
region: content
settings:
view_modes:
Expand All @@ -54,6 +54,17 @@ content:
default_view_mode: default
form_mode_bind: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 5
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 4
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
13 changes: 12 additions & 1 deletion config/core.entity_form_display.paragraph.regions.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
status:
type: boolean_checkbox
weight: 4
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 3
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,29 @@ mode: default
content:
field_reliefweb_document:
type: reliefweb_document
weight: 2
weight: 3
region: content
settings: { }
third_party_settings: { }
field_text:
type: text_textarea
weight: 1
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_title:
type: string_textfield
weight: 0
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
paragraph_view_mode:
type: paragraph_view_mode
weight: -100
weight: 0
region: content
settings:
view_modes:
Expand All @@ -51,6 +51,17 @@ content:
default_view_mode: default
form_mode_bind: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 5
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 4
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,29 @@ mode: default
content:
field_reliefweb_river:
type: reliefweb_river
weight: 2
weight: 3
region: content
settings: { }
third_party_settings: { }
field_text:
type: text_textarea
weight: 1
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_title:
type: string_textfield
weight: 0
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
paragraph_view_mode:
type: paragraph_view_mode
weight: -100
weight: 0
region: content
settings:
view_modes:
Expand All @@ -52,6 +52,17 @@ content:
default_view_mode: default
form_mode_bind: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 5
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 4
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
13 changes: 12 additions & 1 deletion config/core.entity_form_display.paragraph.resources.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
status:
type: boolean_checkbox
weight: 2
region: content
settings:
display_label: true
third_party_settings: { }
translation:
weight: 1
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
Loading

0 comments on commit e36d549

Please sign in to comment.