Skip to content

Commit

Permalink
Merge pull request #286 from UN-OCHA/berliner/HPC-9959
Browse files Browse the repository at this point in the history
HPC-9959: Disable auto-visible field for articles and documents by default and hide it from the node edit forms
  • Loading branch information
berliner authored Dec 6, 2024
2 parents eb1d1db + 24973e6 commit ff0796c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 18 deletions.
9 changes: 1 addition & 8 deletions config/core.entity_form_display.node.article.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ third_party_settings:
- field_theme
- field_author
- field_pdf
- field_automatically_visible
label: Properties
region: content
parent_name: group_tabs
Expand Down Expand Up @@ -143,13 +142,6 @@ content:
revision: false
removed_reference: optional
third_party_settings: { }
field_automatically_visible:
type: boolean_checkbox
weight: 10
region: content
settings:
display_label: true
third_party_settings: { }
field_caption:
type: double_field
weight: 6
Expand Down Expand Up @@ -305,6 +297,7 @@ content:
third_party_settings: { }
hidden:
field_appeals: true
field_automatically_visible: true
field_card_title: true
field_computed_tags: true
field_report_link: true
Expand Down
9 changes: 1 addition & 8 deletions config/core.entity_form_display.node.document.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ third_party_settings:
- field_country
- field_theme
- field_summary
- field_automatically_visible
label: Properties
region: content
parent_name: group_tabs
Expand Down Expand Up @@ -109,13 +108,6 @@ content:
region: content
settings: { }
third_party_settings: { }
field_automatically_visible:
type: boolean_checkbox
weight: 35
region: content
settings:
display_label: true
third_party_settings: { }
field_caption:
type: double_field
weight: 29
Expand Down Expand Up @@ -280,6 +272,7 @@ content:
placeholder: ''
third_party_settings: { }
hidden:
field_automatically_visible: true
field_computed_tags: true
field_tags: true
path: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ required: false
translatable: false
default_value:
-
value: 1
value: 0
default_value_callback: ''
settings:
on_label: 'On'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ required: false
translatable: false
default_value:
-
value: 1
value: 0
default_value_callback: ''
settings:
on_label: 'On'
Expand Down

0 comments on commit ff0796c

Please sign in to comment.