Skip to content

Commit

Permalink
[SG-1960] -- Remove "edit" button from address embeds (#1524)
Browse files Browse the repository at this point in the history
SG-1960

Instructions:
- Cache clear
- Config import
- Check on some of the content add pages and confirm that the "edit" button is removed from the address embeds
  • Loading branch information
paboden authored Apr 4, 2023
1 parent 9d46d23 commit b07859d
Show file tree
Hide file tree
Showing 7 changed files with 82 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ content:
settings:
entity_browser: location_physical
field_widget_display: label
field_widget_edit: true
field_widget_edit: false
field_widget_remove: true
field_widget_replace: false
open: false
Expand Down
17 changes: 16 additions & 1 deletion config/core.entity_form_display.node.event.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ content:
settings:
entity_browser: location_event_address
field_widget_display: rendered_entity
field_widget_edit: true
field_widget_edit: false
field_widget_remove: true
field_widget_replace: false
open: true
Expand Down Expand Up @@ -298,6 +298,21 @@ content:
region: content
settings: { }
third_party_settings: { }
translation_notes:
type: string_textarea
weight: 102
region: content
settings:
rows: 4
placeholder: ''
third_party_settings: { }
translation_outdated:
type: boolean_checkbox
weight: 101
region: content
settings:
display_label: true
third_party_settings: { }
unpublish_on:
type: datetime_timestamp_no_default
weight: 17
Expand Down
17 changes: 16 additions & 1 deletion config/core.entity_form_display.node.location.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ content:
settings:
entity_browser: location_physical
field_widget_display: rendered_entity
field_widget_edit: true
field_widget_edit: false
field_widget_remove: true
field_widget_replace: false
open: true
Expand Down Expand Up @@ -385,6 +385,21 @@ content:
region: content
settings: { }
third_party_settings: { }
translation_notes:
type: string_textarea
weight: 102
region: content
settings:
rows: 4
placeholder: ''
third_party_settings: { }
translation_outdated:
type: boolean_checkbox
weight: 101
region: content
settings:
display_label: true
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 10
Expand Down
17 changes: 16 additions & 1 deletion config/core.entity_form_display.node.meeting.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ content:
settings:
entity_browser: location_physical
field_widget_display: rendered_entity
field_widget_edit: true
field_widget_edit: false
field_widget_remove: true
field_widget_replace: false
open: false
Expand Down Expand Up @@ -341,6 +341,21 @@ content:
region: content
settings: { }
third_party_settings: { }
translation_notes:
type: string_textarea
weight: 102
region: content
settings:
rows: 4
placeholder: ''
third_party_settings: { }
translation_outdated:
type: boolean_checkbox
weight: 101
region: content
settings:
display_label: true
third_party_settings: { }
unpublish_on:
type: datetime_timestamp_no_default
weight: 15
Expand Down
17 changes: 16 additions & 1 deletion config/core.entity_form_display.node.person.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ content:
settings:
entity_browser: location_physical
field_widget_display: rendered_entity
field_widget_edit: true
field_widget_edit: false
field_widget_remove: true
field_widget_replace: false
open: false
Expand Down Expand Up @@ -378,6 +378,21 @@ content:
region: content
settings: { }
third_party_settings: { }
translation_notes:
type: string_textarea
weight: 102
region: content
settings:
rows: 4
placeholder: ''
third_party_settings: { }
translation_outdated:
type: boolean_checkbox
weight: 101
region: content
settings:
display_label: true
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 15
Expand Down
17 changes: 16 additions & 1 deletion config/core.entity_form_display.node.public_body.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ content:
settings:
entity_browser: location_physical
field_widget_display: rendered_entity
field_widget_edit: true
field_widget_edit: false
field_widget_remove: true
field_widget_replace: false
open: true
Expand Down Expand Up @@ -340,6 +340,21 @@ content:
region: content
settings: { }
third_party_settings: { }
translation_notes:
type: string_textarea
weight: 102
region: content
settings:
rows: 4
placeholder: ''
third_party_settings: { }
translation_outdated:
type: boolean_checkbox
weight: 101
region: content
settings:
display_label: true
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 17
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ content:
settings:
entity_browser: location_physical
field_widget_display: rendered_entity
field_widget_edit: true
field_widget_edit: false
field_widget_remove: true
field_widget_replace: false
open: true
Expand Down

1 comment on commit b07859d

@aekong
Copy link
Collaborator

@aekong aekong commented on b07859d Apr 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Visit Site

Created multidev environment ci-18316 for sfgov.

Please sign in to comment.