Skip to content

Commit

Permalink
UHF-9576: Switch field widget to select2_entity_reference
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Mar 14, 2024
1 parent 9d7def6 commit 1ca3544
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dependencies:
- paragraphs.paragraphs_type.event_list
module:
- link
- select2
- text
id: paragraph.event_list.default
targetEntityType: paragraph
Expand Down Expand Up @@ -65,14 +66,14 @@ content:
display_label: true
third_party_settings: { }
field_filter_keywords:
type: entity_reference_autocomplete_tags
type: select2_entity_reference
weight: 8
region: content
settings:
width: 100%
autocomplete: true
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_free_events:
type: boolean_checkbox
Expand Down
1 change: 1 addition & 0 deletions modules/helfi_react_search/helfi_react_search.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies:
- 'drupal:text'
- 'drupal:taxonomy'
- 'drupal:migrate'
- 'select2:select2'
- 'helfi_platform_config:helfi_platform_config'
- 'readonly_field_widget:readonly_field_widget'
- 'paragraphs:paragraphs'
Expand Down
8 changes: 8 additions & 0 deletions modules/helfi_react_search/helfi_react_search.install
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,11 @@ function helfi_react_search_update_9007() : void {
\Drupal::service('helfi_platform_config.config_update_helper')
->update('helfi_react_search');
}

/**
* UHF-9576: Linked events: change paragraph widget.
*/
function helfi_react_search_update_9008() : void {
\Drupal::service('helfi_platform_config.config_update_helper')
->update('helfi_react_search');
}

0 comments on commit 1ca3544

Please sign in to comment.