Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update View for compatibility with other types #96

Merged
merged 1 commit into from
Dec 4, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
172 changes: 139 additions & 33 deletions config/install/views.view.localgov_admin_manage_alert_banners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ status: true
dependencies:
config:
- field.storage.localgov_alert_banner.type_of_alert
- localgov_alert_banner.localgov_alert_banner_type.localgov_alert_banner
- system.menu.admin
enforced:
module:
Expand Down Expand Up @@ -71,6 +70,79 @@ display:
next: ››
style:
type: table
options:
grouping: { }
row_class: ''
default_row_class: true
override: true
sticky: false
caption: ''
summary: ''
description: ''
columns:
title: title
type_of_alert: type_of_alert
type: type
uid: uid
changed: changed
status: status
status_confirm_page: status_confirm_page
operations: operations
info:
title:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
type_of_alert:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: priority-low
type:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: priority-low
uid:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: priority-low
changed:
sortable: true
default_sort_order: desc
align: ''
separator: ''
empty_column: false
responsive: ''
status:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
status_confirm_page:
align: ''
separator: ''
empty_column: false
responsive: priority-medium
operations:
align: ''
separator: ''
empty_column: false
responsive: ''
default: changed
empty_table: false
row:
type: fields
fields:
Expand Down Expand Up @@ -145,7 +217,7 @@ display:
relationship: none
group_type: group
admin_label: ''
label: 'Type of alert'
label: Type
exclude: false
alter:
alter_text: false
Expand Down Expand Up @@ -182,7 +254,7 @@ display:
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
empty: N/A
hide_empty: false
empty_zero: false
hide_alter_empty: true
Expand All @@ -200,14 +272,14 @@ display:
separator: ', '
field_api_classes: false
plugin_id: field
uid:
id: uid
type:
id: type
table: localgov_alert_banner_field_data
field: uid
field: type
relationship: none
group_type: group
admin_label: ''
label: Author
label: 'Banner type'
exclude: false
alter:
alter_text: false
Expand Down Expand Up @@ -263,16 +335,16 @@ display:
separator: ', '
field_api_classes: false
entity_type: localgov_alert_banner
entity_field: uid
entity_field: type
plugin_id: field
created:
id: created
uid:
id: uid
table: localgov_alert_banner_field_data
field: created
field: uid
relationship: none
group_type: group
admin_label: ''
label: Created
label: Author
exclude: false
alter:
alter_text: false
Expand Down Expand Up @@ -313,13 +385,11 @@ display:
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: timestamp
click_sort_column: target_id
type: entity_reference_label
settings:
date_format: medium
custom_date_format: ''
timezone: ''
group_column: value
link: false
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
Expand All @@ -330,7 +400,7 @@ display:
separator: ', '
field_api_classes: false
entity_type: localgov_alert_banner
entity_field: created
entity_field: uid
plugin_id: field
changed:
id: changed
Expand Down Expand Up @@ -383,7 +453,7 @@ display:
click_sort_column: value
type: timestamp
settings:
date_format: medium
date_format: short
custom_date_format: ''
timezone: ''
group_column: value
Expand Down Expand Up @@ -570,18 +640,6 @@ display:
entity_type: localgov_alert_banner
plugin_id: entity_operations
filters:
type:
id: type
table: localgov_alert_banner_field_data
field: type
value:
localgov_alert_banner: localgov_alert_banner
entity_type: localgov_alert_banner
entity_field: type
plugin_id: bundle
expose:
operator_limit_selection: false
operator_list: { }
title:
id: title
table: localgov_alert_banner_field_data
Expand Down Expand Up @@ -671,6 +729,54 @@ display:
value: { }
reduce_duplicates: false
plugin_id: list_field
type:
id: type
table: localgov_alert_banner_field_data
field: type
relationship: none
group_type: group
admin_label: ''
operator: in
value: { }
group: 1
exposed: true
expose:
operator_id: type_op
label: 'Banner type'
description: ''
use_operator: false
operator: type_op
operator_limit_selection: false
operator_list: { }
identifier: type
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
emergency_publisher: '0'
anonymous: '0'
localgov_editor: '0'
localgov_author: '0'
admin: '0'
user_manager: '0'
web_manager: '0'
reduce: false
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: localgov_alert_banner
entity_field: type
plugin_id: bundle
sorts:
changed:
id: changed
Expand Down Expand Up @@ -747,7 +853,7 @@ display:
description: ''
expanded: false
parent: system.admin_content
weight: 100
weight: 4
context: '0'
menu_name: admin
cache_metadata:
Expand Down