Skip to content

Commit

Permalink
Merge pull request #252 from nysenate/nys-16671--leg-block
Browse files Browse the repository at this point in the history
Make featured legislation block fields required
  • Loading branch information
routinet authored Oct 23, 2024
2 parents b0d49d3 + 236dd42 commit 20c2890
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ entity_type: block_content
bundle: featured_legislation
label: 'Featured Legislation'
description: ''
required: false
required: true
translatable: false
default_value: { }
default_value_callback: ''
Expand Down Expand Up @@ -70,6 +70,12 @@ settings:
slider_item:
weight: 31
enabled: false
steps:
weight: 34
enabled: false
summer_reading:
weight: 35
enabled: false
votes:
weight: 32
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ entity_type: paragraph
bundle: featured_legislation
label: 'Featured Bill'
description: ''
required: false
required: true
translatable: true
default_value: { }
default_value_callback: ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ entity_type: paragraph
bundle: featured_legislation
label: Quote
description: ''
required: false
required: true
translatable: true
default_value: { }
default_value_callback: ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ dependencies:
module:
- block_content
- entity_reference_revisions
- field_permissions
- paragraphs
third_party_settings:
field_permissions:
permission_type: public
id: block_content.field_featured_legislation
field_name: field_featured_legislation
entity_type: block_content
Expand Down
4 changes: 0 additions & 4 deletions config/sync/field.storage.paragraph.field_featured_bill.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@ langcode: en
status: true
dependencies:
module:
- field_permissions
- node
- paragraphs
third_party_settings:
field_permissions:
permission_type: public
id: paragraph.field_featured_bill
field_name: field_featured_bill
entity_type: paragraph
Expand Down
4 changes: 0 additions & 4 deletions config/sync/field.storage.paragraph.field_featured_quote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ langcode: en
status: true
dependencies:
module:
- field_permissions
- paragraphs
third_party_settings:
field_permissions:
permission_type: public
id: paragraph.field_featured_quote
field_name: field_featured_quote
entity_type: paragraph
Expand Down

0 comments on commit 20c2890

Please sign in to comment.