Skip to content

Commit

Permalink
Merge pull request #110 from GSA/feature/DIGITAL-252-community-review
Browse files Browse the repository at this point in the history
Digital-252: Community Content Type Review
  • Loading branch information
mattsqd authored Jan 16, 2025
2 parents dfa4038 + f435c89 commit eb8b115
Show file tree
Hide file tree
Showing 22 changed files with 382 additions and 166 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"drupal/scheduler": "^2.0",
"drupal/scheduler_content_moderation_integration": "^3.0",
"drupal/seckit": "^2.0",
"drupal/svg_image": "^3.2",
"drupal/tome": "^1.12",
"drupal/twig_field_value": "^2.0",
"drupal/twig_tweak": "^3.3",
Expand Down
116 changes: 112 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions composer.log
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@ f5f559ecad3217a6dfc5db9f3157e5ca|Ray Estrada|feature/DIGITAL-283-security-module
cd50d2b2b036edaa3a002881cf1b50ce|Ray Estrada|feature/DIGITAL-283-security-modules|Mon Jan 13 12:15:05 EST 2025|./composer.sh require drupal/upgrade_status
406c28be9e70355b9cfbbe1df58bb7ef|Ray Estrada|feature/DIGITAL-283-security-modules|Mon Jan 13 12:16:28 EST 2025|./composer.sh require drupal/database_ssl_check
699e8eda61efbe69e1f9a75fe81a3bf4|Oscar Merida|feature/DIGITAL-299-auto-headings|Tue Jan 14 14:23:14 EST 2025|./composer.sh require drupal/auto_heading_ids:^2.0@beta
c4f5d0dc96584bd1dc808fd112b6e516|Ray Estrada|feature/DIGITAL-252-community-review|Thu Jan 16 10:51:08 EST 2025|./composer.sh require drupal/svg_image
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies:
- field.field.node.community.field_slug
- field.field.node.community.field_subscribe_email_subject
- field.field.node.community.field_summary
- image.style.thumbnail
- node.type.community
- workflows.workflow.editorial
module:
Expand All @@ -23,6 +24,7 @@ dependencies:
- maxlength
- media_library
- path
- image
- text
third_party_settings:
field_group:
Expand Down Expand Up @@ -94,11 +96,12 @@ content:
display_label: true
third_party_settings: { }
field_dg_logo:
type: media_library_widget
type: image_image
weight: 34
region: content
settings:
media_types: { }
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
field_dg_shortname:
type: string_textfield
Expand Down
92 changes: 29 additions & 63 deletions config/sync/core.entity_view_display.node.community.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies:
- node.type.community
module:
- options
- svg_image
- text
- user
id: node.community.default
Expand All @@ -30,102 +31,67 @@ content:
label: hidden
settings: { }
third_party_settings: { }
weight: 101
weight: 2
region: content
content_moderation_control:
settings: { }
third_party_settings: { }
weight: 0
region: content
field_deck:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 108
weight: 5
region: content
field_dg_acronym:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 120
region: content
field_dg_highlight:
type: boolean
label: above
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 121
weight: 6
region: content
field_dg_logo:
type: entity_reference_entity_view
label: above
settings:
view_mode: default
link: false
third_party_settings: { }
weight: 112
region: content
field_dg_shortname:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 118
region: content
field_members:
type: number_integer
label: above
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
weight: 119
region: content
field_page_weight:
type: number_integer
type: image
label: above
settings:
thousand_separator: ''
prefix_suffix: true
image_link: ''
image_style: ''
image_loading:
attribute: eager
svg_attributes:
width: null
height: null
svg_render_as_image: true
third_party_settings: { }
weight: 102
region: content
field_primary_image:
type: entity_reference_entity_view
label: above
settings:
view_mode: default
link: false
third_party_settings: { }
weight: 114
weight: 8
region: content
field_slug:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 106
weight: 3
region: content
field_subscribe_email_subject:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 117
region: content
field_summary:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 104
weight: 7
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
weight: 1
region: content
hidden: { }
hidden:
field_dg_highlight: true
field_dg_shortname: true
field_members: true
field_page_weight: true
field_primary_image: true
field_summary: true
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ content:
third_party_settings: { }
weight: 5
region: content
field_dg_logo:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 6
region: content
field_dg_shortname:
type: string
label: above
Expand Down Expand Up @@ -86,6 +78,7 @@ content:
hidden:
field_deck: true
field_dg_highlight: true
field_dg_logo: true
field_page_weight: true
field_primary_image: true
field_slug: true
Expand Down
1 change: 1 addition & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ module:
seckit: 0
serialization: 0
site_wrapper: 0
svg_image: 0
system: 0
taxonomy: 0
text: 0
Expand Down
Loading

0 comments on commit eb8b115

Please sign in to comment.