Skip to content

Commit

Permalink
Merge pull request #867 from City-of-Helsinki/UHF-10539-view-configur…
Browse files Browse the repository at this point in the history
…ation

UHF-10539 update view configuration
  • Loading branch information
hyrsky authored Dec 13, 2024
2 parents f096789 + e783881 commit 88e462f
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,73 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
status:
id: status
table: redirect
field: status
relationship: none
group_type: group
admin_label: ''
entity_type: redirect
entity_field: status
plugin_id: field
label: Published
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: boolean
settings:
format: default
format_custom_false: ''
format_custom_true: ''
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
language:
id: language
table: redirect
Expand Down Expand Up @@ -629,14 +696,14 @@ display:
exposed: true
expose:
operator_id: ''
label: Julkaistu
label: Published
description: ''
use_operator: false
operator: status_op
operator_limit_selection: false
operator_list: { }
identifier: status
required: true
required: false
remember: false
multiple: false
remember_roles:
Expand Down Expand Up @@ -673,14 +740,22 @@ display:
row_class: ''
default_row_class: true
columns:
redirect_bulk_form: redirect_bulk_form
redirect_source__path: redirect_source__path
redirect_redirect__uri: redirect_redirect__uri
status_code: status_code
is_custom: is_custom
status: status
language: language
created: created
operations: operations
default: created
info:
redirect_bulk_form:
align: ''
separator: ''
empty_column: false
responsive: ''
redirect_source__path:
sortable: true
default_sort_order: asc
Expand All @@ -702,6 +777,20 @@ display:
separator: ''
empty_column: false
responsive: ''
is_custom:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
status:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
language:
sortable: true
default_sort_order: asc
Expand All @@ -717,8 +806,6 @@ display:
empty_column: false
responsive: ''
operations:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,20 @@ display:
status_code:
group_info:
group_items:
1:
title: '300 Useita valintoja'
2:
title: '301 Pysyvästi siirretty'
3:
title: '302 Löydetty'
4:
title: '303 Kts. toinen'
5:
title: '304 Muuttamaton'
6:
title: '305 Käytä proxyä'
7:
title: '300 Multiple Choices'
1: { }
2: { }
3: { }
4: { }
5: { }
6: { }
title: '307 Tilapäinen uudelleenohjaus'
label: Tilakoodi
expose:
label: Tilakoodi
Expand All @@ -28,6 +34,9 @@ display:
is_custom:
expose:
label: 'Käyttäjän luoma'
status:
expose:
label: Julkaistu
exposed_form:
options:
submit_button: Suodata
Expand All @@ -37,10 +46,14 @@ display:
sort_desc_label: Laskevasti
pager:
options:
tags: { }
expose:
items_per_page_label: 'Merkintöjä sivua kohti'
items_per_page_options_all_label: '- Kaikki -'
tags:
previous: '‹ edellinen'
next: 'seuraava ›'
first: '« ensimmäinen'
last: 'viimeinen »'
fields:
redirect_bulk_form:
action_title: Valinnalla
Expand All @@ -50,9 +63,12 @@ display:
label: Luotu
is_custom:
label: 'Käyttäjän luoma'
status:
label: Julkaistu
empty:
area_text_custom:
content: 'Ei ole vielä uudelleenohjaksia.'
title: Uudelleenohjaukset
display_title: Oletus
page_1:
display_title: Sivu
Expand Down
10 changes: 9 additions & 1 deletion modules/helfi_base_content/helfi_base_content.install
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,17 @@ function helfi_base_content_update_9014(): void {
}

/**
* UHF-9704: Configure view for redirect module.
* UHF-10539: Configure view for redirect module.
*/
function helfi_base_content_update_9015(): void {
\Drupal::service('helfi_platform_config.config_update_helper')
->update('helfi_base_content');
}

/**
* UHF-10539: Configure view for redirect module.
*/
function helfi_base_content_update_9016(): void {
\Drupal::service('helfi_platform_config.config_update_helper')
->update('helfi_base_content');
}

0 comments on commit 88e462f

Please sign in to comment.