Skip to content
Snippets Groups Projects
Commit b729b2af authored by Igor Biki's avatar Igor Biki
Browse files

Merge branch 'feature/ISTWCMS-6768-6769-l26yan-Add-taxonomy_term_depth' into '1.0.x'

ISTWCMS-6768 6769 Add taxonomy_term_depth to refactor service list page and service category page

See merge request !47
parents 20c48987 e43ead19
No related branches found
No related tags found
2 merge requests!60ISTWCMS-6095 Update maxlength settings for title, text fields and link fields...,!47ISTWCMS-6768 6769 Add taxonomy_term_depth to refactor service list page and service category page
......@@ -2,6 +2,7 @@ langcode: en
status: true
dependencies:
config:
- field.storage.node.field_uw_service_category
- field.storage.node.field_uw_service_summary
- node.type.uw_ct_service
- taxonomy.vocabulary.uw_vocab_audience
......@@ -23,84 +24,34 @@ base_table: node_field_data
base_field: nid
display:
default:
display_plugin: default
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
contextual_filters_or: false
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: none
options:
offset: 0
style:
type: default
options:
grouping:
-
field: title_1
rendered: true
rendered_strip: false
row_class: ''
default_row_class: true
row:
type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
title: 'Service Page via nodes'
fields:
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: field
label: ''
exclude: false
alter:
alter_text: false
make_link: false
absolute: false
trim: false
word_boundary: false
ellipsis: false
strip_tags: false
trim: false
html: false
hide_empty: false
empty_zero: false
settings:
link_to_entity: true
plugin_id: field
relationship: none
group_type: group
admin_label: ''
exclude: false
element_type: ''
element_class: ''
element_label_type: ''
......@@ -110,9 +61,13 @@ display:
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
......@@ -130,6 +85,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: false
alter:
......@@ -184,21 +140,72 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
pager:
type: none
options:
offset: 0
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
empty:
area:
id: area
table: views
field: area
relationship: none
group_type: group
admin_label: ''
plugin_id: text
empty: true
content:
value: 'There are no items available.'
format: uw_tf_standard
tokenize: false
sorts:
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: title
exposed: false
arguments: { }
filters:
status:
value: '1'
id: status
table: node_field_data
field: status
plugin_id: boolean
entity_type: node
entity_field: status
id: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
type:
id: type
table: node_field_data
......@@ -206,6 +213,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: type
plugin_id: bundle
operator: in
value:
uw_ct_service: uw_ct_service
......@@ -238,9 +248,6 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: node
entity_field: type
plugin_id: bundle
field_uw_service_status_value:
id: field_uw_service_status_value
table: node__field_uw_service_status
......@@ -248,6 +255,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: list_field
operator: or
value:
active: active
......@@ -281,42 +289,35 @@ display:
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
plugin_id: list_field
sorts:
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
field_identifier: title
entity_type: node
entity_field: title
plugin_id: standard
title: 'Service Page via nodes'
style:
type: default
options:
grouping:
-
field: title_1
rendered: true
rendered_strip: false
row_class: ''
default_row_class: true
row:
type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
contextual_filters_or: false
relationships: { }
header: { }
footer: { }
empty:
area:
id: area
table: views
field: area
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content:
value: 'There are no items available.'
format: uw_tf_standard
plugin_id: text
relationships: { }
arguments: { }
display_extenders:
metatag_display_extender: { }
cache_metadata:
......@@ -329,142 +330,23 @@ display:
tags:
- 'config:field.storage.node.field_uw_service_summary'
all_services_page:
display_plugin: page
id: all_services_page
display_title: 'All Services Page'
display_plugin: page
position: 4
display_options:
display_extenders:
metatag_display_extender:
metatags:
title: '[current-page:title] | [site:name]'
description: 'Listing all published service nodes marked as "active" under [view:title] on the [site:name] site.'
canonical_url: '[current-page:url:absolute]'
og_url: '[current-page:metatag:url:absolute]'
og_title: '[current-page:metatag:title]'
og_description: '[current-page:metatag:description]'
og_image: '[current-page:metatag:image_src]'
og_locale: en_CA
twitter_cards_type: summary_large_image
display_description: ''
path: services/all
title: 'All services'
defaults:
title: false
arguments: false
filters: false
filter_groups: false
fields: false
arguments: { }
filters:
status:
value: '1'
table: node_field_data
field: status
plugin_id: boolean
entity_type: node
entity_field: status
id: status
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
type:
id: type
fields:
title_1:
id: title_1
table: node_field_data
field: type
field: title
relationship: none
group_type: group
admin_label: ''
operator: in
value:
uw_ct_service: uw_ct_service
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
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: node
entity_field: type
plugin_id: bundle
field_uw_service_status_value:
id: field_uw_service_status_value
table: node__field_uw_service_status
field: field_uw_service_status_value
relationship: none
group_type: group
admin_label: ''
operator: or
value:
active: active
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
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: { }
reduce_duplicates: false
plugin_id: list_field
filter_groups:
operator: AND
groups:
1: AND
fields:
title_1:
id: title_1
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_field: title
plugin_id: field
label: ''
exclude: true
alter:
......@@ -520,34 +402,27 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: node
entity_field: title
plugin_id: field
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: field
label: ''
exclude: false
alter:
alter_text: false
make_link: false
absolute: false
trim: false
word_boundary: false
ellipsis: false
strip_tags: false
trim: false
html: false
hide_empty: false
empty_zero: false
settings:
link_to_entity: true
plugin_id: field
relationship: none
group_type: group
admin_label: ''
exclude: false
element_type: ''
element_class: ''
element_label_type: ''
......@@ -557,9 +432,13 @@ display:
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
......@@ -577,6 +456,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: false
alter:
......@@ -631,80 +511,21 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_uw_service_summary'
popular_services_page:
display_plugin: page
id: popular_services_page
display_title: 'Popular Services Page'
position: 1
display_options:
display_extenders:
metatag_display_extender:
metatags:
title: '[current-page:title] | [site:name]'
description: 'Listing the most popular service items under [view:title] on the [site:name] site.'
canonical_url: '[current-page:url:absolute]'
content_language: en-CA
image_src: 'https://uwaterloo.ca/university-of-waterloo-logo-152.png'
og_url: '[current-page:url:absolute]'
og_title: '[current-page:metatag:title]'
og_description: '[current-page:metatag:description]'
og_image: '[current-page:metatag:image_src]'
og_locale: en_CA
twitter_cards_type: summary_large_image
path: services/popular
display_description: 'List of the top 10 "most popular" published service nodes marked as "active"'
style:
type: html_list
options:
grouping: { }
row_class: ''
default_row_class: true
type: ul
wrapper_class: item-list
class: ''
defaults:
style: false
row: false
title: false
filters: false
filter_groups: false
fields: false
arguments: false
sorts: false
pager: false
header: false
row:
type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
title: 'Popular services'
arguments: { }
filters:
status:
value: '1'
id: status
table: node_field_data
field: status
plugin_id: boolean
entity_type: node
entity_field: status
id: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
type:
id: type
table: node_field_data
......@@ -712,6 +533,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: type
plugin_id: bundle
operator: in
value:
uw_ct_service: uw_ct_service
......@@ -744,9 +568,6 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: node
entity_field: type
plugin_id: bundle
field_uw_service_status_value:
id: field_uw_service_status_value
table: node__field_uw_service_status
......@@ -754,6 +575,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: list_field
operator: or
value:
active: active
......@@ -787,11 +609,46 @@ display:
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
plugin_id: list_field
filter_groups:
operator: AND
groups:
1: AND
defaults:
title: false
fields: false
arguments: false
filters: false
filter_groups: false
display_description: ''
display_extenders:
metatag_display_extender:
metatags:
title: '[current-page:title] | [site:name]'
description: 'Listing all published service nodes marked as "active" under [view:title] on the [site:name] site.'
canonical_url: '[current-page:url:absolute]'
og_url: '[current-page:metatag:url:absolute]'
og_title: '[current-page:metatag:title]'
og_description: '[current-page:metatag:description]'
og_image: '[current-page:metatag:image_src]'
og_locale: en_CA
twitter_cards_type: summary_large_image
path: services/all
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_uw_service_summary'
popular_services_page:
id: popular_services_page
display_title: 'Popular Services Page'
display_plugin: page
position: 1
display_options:
title: 'Popular services'
fields:
title:
id: title
......@@ -800,6 +657,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: field
label: ''
exclude: false
alter:
......@@ -855,9 +715,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: node
entity_field: title
plugin_id: field
field_uw_service_summary:
id: field_uw_service_summary
table: node__field_uw_service_summary
......@@ -865,6 +722,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: false
alter:
......@@ -919,8 +777,11 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
arguments: { }
pager:
type: some
options:
offset: 0
items_per_page: 10
sorts:
field_uw_service_popularity_value:
id: field_uw_service_popularity_value
......@@ -929,12 +790,12 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: standard
order: DESC
exposed: false
expose:
label: ''
field_identifier: field_uw_service_popularity_value
plugin_id: standard
exposed: false
title:
id: title
table: node_field_data
......@@ -942,93 +803,29 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: standard
order: ASC
exposed: false
expose:
label: ''
field_identifier: title
entity_type: node
entity_field: title
plugin_id: standard
pager:
type: some
options:
items_per_page: 10
offset: 0
header: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_uw_service_summary'
service_for_audience_page:
display_plugin: page
id: service_for_audience_page
display_title: 'Services for Audience Page'
position: 1
display_options:
display_extenders:
metatag_display_extender:
metatags:
title: '[current-page:title] | [site:name]'
description: 'Listing the most popular service items under [view:title] on the [site:name] site.'
canonical_url: '[current-page:url:absolute]'
content_language: en-CA
image_src: 'https://uwaterloo.ca/university-of-waterloo-logo-152.png'
og_url: '[current-page:url:absolute]'
og_title: '[current-page:metatag:title]'
og_description: '[current-page:metatag:description]'
og_image: '[current-page:metatag:image_src]'
og_locale: en_CA
twitter_cards_type: summary_large_image
path: services/audience/%
display_description: 'List of audiences with published service nodes marked as "active"'
style:
type: html_list
options:
grouping: { }
row_class: ''
default_row_class: true
type: ul
wrapper_class: item-list
class: ''
defaults:
style: false
row: false
title: false
filters: false
filter_groups: false
fields: false
arguments: false
sorts: false
pager: false
header: false
row:
type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
title: 'Services for audience'
filters:
status:
value: '1'
table: node_field_data
field: status
plugin_id: boolean
exposed: false
arguments: { }
filters:
status:
id: status
table: node_field_data
field: status
entity_type: node
entity_field: status
id: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
type:
id: type
table: node_field_data
......@@ -1036,6 +833,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: type
plugin_id: bundle
operator: in
value:
uw_ct_service: uw_ct_service
......@@ -1068,9 +868,6 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: node
entity_field: type
plugin_id: bundle
field_uw_service_status_value:
id: field_uw_service_status_value
table: node__field_uw_service_status
......@@ -1078,6 +875,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: list_field
operator: or
value:
active: active
......@@ -1111,11 +909,70 @@ display:
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
plugin_id: list_field
filter_groups:
operator: AND
groups:
1: AND
style:
type: html_list
options:
grouping: { }
row_class: ''
default_row_class: true
type: ul
wrapper_class: item-list
class: ''
row:
type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
defaults:
title: false
pager: false
style: false
row: false
fields: false
sorts: false
arguments: false
filters: false
filter_groups: false
header: false
display_description: 'List of the top 10 "most popular" published service nodes marked as "active"'
header: { }
display_extenders:
metatag_display_extender:
metatags:
title: '[current-page:title] | [site:name]'
description: 'Listing the most popular service items under [view:title] on the [site:name] site.'
canonical_url: '[current-page:url:absolute]'
content_language: en-CA
image_src: 'https://uwaterloo.ca/university-of-waterloo-logo-152.png'
og_url: '[current-page:url:absolute]'
og_title: '[current-page:metatag:title]'
og_description: '[current-page:metatag:description]'
og_image: '[current-page:metatag:image_src]'
og_locale: en_CA
twitter_cards_type: summary_large_image
path: services/popular
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_uw_service_summary'
service_for_audience_page:
id: service_for_audience_page
display_title: 'Services for Audience Page'
display_plugin: page
position: 1
display_options:
title: 'Services for audience'
fields:
title:
id: title
......@@ -1124,6 +981,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: field
label: ''
exclude: false
alter:
......@@ -1179,9 +1039,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: node
entity_field: title
plugin_id: field
field_uw_service_summary:
id: field_uw_service_summary
table: node__field_uw_service_summary
......@@ -1189,6 +1046,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: false
alter:
......@@ -1243,7 +1101,26 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
pager:
type: none
options:
offset: 0
sorts:
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: title
exposed: false
arguments:
term_node_tid_depth:
id: term_node_tid_depth
......@@ -1252,6 +1129,8 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: node
plugin_id: taxonomy_index_tid_depth
default_action: default
exception:
value: all
......@@ -1262,16 +1141,16 @@ display:
default_argument_type: taxonomy_tid
default_argument_options:
term_page: '1'
anyall: ','
node: false
limit: false
vids: { }
anyall: ','
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
......@@ -1283,78 +1162,26 @@ display:
validate_options:
bundles:
uw_vocab_audience: uw_vocab_audience
access: false
operation: view
transform: true
access: false
depth: 2
break_phrase: false
depth: 2
use_taxonomy_term_path: false
entity_type: node
plugin_id: taxonomy_index_tid_depth
sorts:
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
field_identifier: title
entity_type: node
entity_field: title
plugin_id: standard
pager:
type: none
options:
offset: 0
header: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_uw_service_summary'
service_search_page:
display_plugin: page
id: service_search_page
display_title: 'Service Search Page'
position: 5
display_options:
display_extenders:
metatag_display_extender: { }
display_description: ''
title: 'Search results from all services'
defaults:
title: false
filters: false
filter_groups: false
sorts: false
pager: false
arguments: false
exposed_form: false
path: services/search
filters:
status:
value: '1'
id: status
table: node_field_data
field: status
plugin_id: boolean
entity_type: node
entity_field: status
id: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
type:
id: type
table: node_field_data
......@@ -1362,6 +1189,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: type
plugin_id: bundle
operator: in
value:
uw_ct_service: uw_ct_service
......@@ -1394,9 +1224,6 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: node
entity_field: type
plugin_id: bundle
field_uw_service_status_value:
id: field_uw_service_status_value
table: node__field_uw_service_status
......@@ -1404,6 +1231,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: list_field
operator: or
value:
active: active
......@@ -1437,23 +1265,284 @@ display:
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
plugin_id: list_field
combine:
id: combine
table: views
field: combine
relationship: none
group_type: group
admin_label: ''
operator: allwords
value: ''
group: 1
exposed: true
expose:
operator_id: combine_op
label: 'Services search'
description: ''
use_operator: false
filter_groups:
operator: AND
groups:
1: AND
style:
type: html_list
options:
grouping: { }
row_class: ''
default_row_class: true
type: ul
wrapper_class: item-list
class: ''
row:
type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
defaults:
title: false
pager: false
style: false
row: false
fields: false
sorts: false
arguments: false
filters: false
filter_groups: false
header: false
display_description: 'List of audiences with published service nodes marked as "active"'
header: { }
display_extenders:
metatag_display_extender:
metatags:
title: '[current-page:title] | [site:name]'
description: 'Listing the most popular service items under [view:title] on the [site:name] site.'
canonical_url: '[current-page:url:absolute]'
content_language: en-CA
image_src: 'https://uwaterloo.ca/university-of-waterloo-logo-152.png'
og_url: '[current-page:url:absolute]'
og_title: '[current-page:metatag:title]'
og_description: '[current-page:metatag:description]'
og_image: '[current-page:metatag:image_src]'
og_locale: en_CA
twitter_cards_type: summary_large_image
path: services/audience/%
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_uw_service_summary'
service_search_page:
id: service_search_page
display_title: 'Service Search Page'
display_plugin: page
position: 5
display_options:
title: 'Search results from all services'
pager:
type: mini
options:
offset: 0
items_per_page: 10
total_pages: null
id: 0
tags:
next: ››
previous: ‹‹
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
exposed_form:
type: bef
options:
submit_button: Search
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
text_input_required: 'Select any filter and click on Apply to see results'
text_input_required_format: uw_tf_standard
bef:
general:
autosubmit: false
autosubmit_exclude_textfield: false
autosubmit_textfield_delay: 500
autosubmit_hide: false
input_required: false
allow_secondary: false
secondary_label: 'Advanced options'
secondary_open: false
filter:
combine:
plugin_id: default
advanced:
placeholder_text: ''
collapsible: false
is_secondary: false
sorts:
created:
id: created
table: node_field_data
field: created
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: created
plugin_id: date
order: DESC
expose:
label: ''
field_identifier: created
exposed: false
granularity: second
arguments:
'null':
id: 'null'
table: views
field: 'null'
relationship: none
group_type: group
admin_label: ''
plugin_id: 'null'
default_action: ignore
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
must_not_be: false
filters:
status:
id: status
table: node_field_data
field: status
entity_type: node
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
type:
id: type
table: node_field_data
field: type
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: type
plugin_id: bundle
operator: in
value:
uw_ct_service: uw_ct_service
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
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: { }
field_uw_service_status_value:
id: field_uw_service_status_value
table: node__field_uw_service_status
field: field_uw_service_status_value
relationship: none
group_type: group
admin_label: ''
plugin_id: list_field
operator: or
value:
active: active
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
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: { }
reduce_duplicates: false
combine:
id: combine
table: views
field: combine
relationship: none
group_type: group
admin_label: ''
plugin_id: views_autocomplete_filters_combine
operator: allwords
value: ''
group: 1
exposed: true
expose:
operator_id: combine_op
label: 'Services search'
description: ''
use_operator: false
operator: combine_op
operator_limit_selection: false
operator_list: { }
......@@ -1493,61 +1582,296 @@ display:
fields:
title: title
field_uw_service_summary: field_uw_service_summary
plugin_id: views_autocomplete_filters_combine
filter_groups:
operator: AND
groups:
1: AND
defaults:
title: false
pager: false
exposed_form: false
sorts: false
arguments: false
filters: false
filter_groups: false
display_description: ''
display_extenders:
metatag_display_extender: { }
path: services/search
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_uw_service_summary'
services_in_category_page:
id: services_in_category_page
display_title: 'Services in Category Page'
display_plugin: page
position: 1
display_options:
title: 'Services in Category'
fields:
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: field
label: ''
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: false
ellipsis: false
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: false
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: string
settings:
link_to_entity: 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
field_uw_service_summary:
id: field_uw_service_summary
table: node__field_uw_service_summary
field: field_uw_service_summary
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: false
alter:
alter_text: true
text: '{{ field_uw_service_summary__value | check_markup(''uw_tf_basic'') }}'
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: false
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: text_default
settings: { }
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
field_uw_service_category:
id: field_uw_service_category
table: node__field_uw_service_category
field: field_uw_service_category
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: true
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: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: false
group_column: target_id
group_columns: { }
group_rows: false
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
pager:
type: none
options:
offset: 0
sorts:
created:
id: created
table: node_field_data
field: created
relationship: none
depth_level:
id: depth_level
table: taxonomy_term_field_data
field: depth_level
relationship: field_uw_service_category
group_type: group
admin_label: ''
order: DESC
entity_type: taxonomy_term
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
weight:
id: weight
table: taxonomy_term_field_data
field: weight
relationship: field_uw_service_category
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: weight
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: created
granularity: second
field_identifier: ''
exposed: false
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: created
plugin_id: date
pager:
type: mini
options:
items_per_page: 10
offset: 0
id: 0
total_pages: null
tags:
previous: ‹‹
next: ››
entity_field: title
plugin_id: standard
order: ASC
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
label: ''
field_identifier: title
exposed: false
arguments:
'null':
id: 'null'
table: views
field: 'null'
tid:
id: tid
table: taxonomy_index
field: tid
relationship: none
group_type: group
admin_label: ''
default_action: ignore
plugin_id: taxonomy_index_tid
default_action: 'not found'
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
title_enable: true
title: '{{ arguments.tid }}'
default_argument_type: fixed
default_argument_options:
argument: ''
......@@ -1555,123 +1879,40 @@ display:
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
specify_validation: true
validate:
type: none
type: 'entity:taxonomy_term'
fail: 'not found'
validate_options: { }
must_not_be: false
plugin_id: 'null'
exposed_form:
type: bef
options:
submit_button: Search
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
text_input_required: 'Select any filter and click on Apply to see results'
text_input_required_format: uw_tf_standard
bef:
general:
autosubmit: false
autosubmit_exclude_textfield: false
autosubmit_textfield_delay: 500
autosubmit_hide: false
input_required: false
allow_secondary: false
secondary_label: 'Advanced options'
secondary_open: false
filter:
combine:
plugin_id: default
advanced:
placeholder_text: ''
collapsible: false
is_secondary: false
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_uw_service_summary'
services_in_category_page:
display_plugin: page
id: services_in_category_page
display_title: 'Services in Category Page'
position: 1
display_options:
display_extenders:
metatag_display_extender:
metatags:
title: '[current-page:title] | [site:name]'
description: 'Listing published service nodes marked as "active" within a specific category under [view:title] on the [site:name] site.'
canonical_url: '[current-page:url:absolute]'
content_language: en-CA
image_src: 'https://uwaterloo.ca/university-of-waterloo-logo-152.png'
og_url: '[current-page:url:absolute]'
og_title: '[current-page:metatag:title]'
og_description: '[current-page:metatag:description]'
og_image: '[current-page:metatag:image_src]'
og_locale: en_CA
twitter_cards_type: summary_large_image
path: taxonomy/term/%
display_description: 'List of published service nodes marked as "active" within a specific category.'
style:
type: html_list
options:
grouping: { }
row_class: ''
default_row_class: true
type: ul
wrapper_class: item-list
class: ''
defaults:
style: false
row: false
title: false
filters: false
filter_groups: false
fields: false
arguments: false
sorts: false
pager: false
header: false
row:
type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
title: 'Services in Category'
validate_options:
bundles:
uw_vocab_service_categories: uw_vocab_service_categories
access: false
operation: view
multiple: 0
break_phrase: false
add_table: false
require_value: false
reduce_duplicates: false
filters:
status:
value: '1'
id: status
table: node_field_data
field: status
plugin_id: boolean
entity_type: node
entity_field: status
id: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
type:
id: type
table: node_field_data
......@@ -1679,6 +1920,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: type
plugin_id: bundle
operator: in
value:
uw_ct_service: uw_ct_service
......@@ -1711,9 +1955,6 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: node
entity_field: type
plugin_id: bundle
field_uw_service_status_value:
id: field_uw_service_status_value
table: node__field_uw_service_status
......@@ -1721,6 +1962,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: list_field
operator: or
value:
active: active
......@@ -1754,24 +1996,151 @@ display:
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
plugin_id: list_field
depth_level:
id: depth_level
table: taxonomy_term_field_data
field: depth_level
relationship: field_uw_service_category
group_type: group
admin_label: ''
entity_type: taxonomy_term
plugin_id: numeric
operator: '='
value:
min: ''
max: ''
value: '2'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
min_placeholder: ''
max_placeholder: ''
placeholder: ''
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
filter_groups:
operator: AND
groups:
1: AND
style:
type: html_list
options:
grouping:
-
field: field_uw_service_category
rendered: true
rendered_strip: false
row_class: ''
default_row_class: true
type: ul
wrapper_class: item-list
class: ''
row:
type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
defaults:
title: false
pager: false
group_by: false
style: false
row: false
relationships: false
fields: false
sorts: false
arguments: false
filters: false
filter_groups: false
header: false
relationships:
field_uw_service_category:
id: field_uw_service_category
table: node__field_uw_service_category
field: field_uw_service_category
relationship: none
group_type: group
admin_label: 'field_uw_service_category: Taxonomy term'
plugin_id: standard
required: false
group_by: true
display_description: 'List of published service nodes marked as "active" within a specific category.'
header: { }
display_extenders:
metatag_display_extender:
metatags:
title: '[current-page:title] | [site:name]'
description: 'Listing published service nodes marked as "active" within a specific category under [view:title] on the [site:name] site.'
canonical_url: '[current-page:url:absolute]'
content_language: en-CA
image_src: 'https://uwaterloo.ca/university-of-waterloo-logo-152.png'
og_url: '[current-page:url:absolute]'
og_title: '[current-page:metatag:title]'
og_description: '[current-page:metatag:description]'
og_image: '[current-page:metatag:image_src]'
og_locale: en_CA
twitter_cards_type: summary_large_image
tokenize: false
path: taxonomy/term/%
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_uw_service_category'
- 'config:field.storage.node.field_uw_service_summary'
services_specific_page:
id: services_specific_page
display_title: 'Specific services page'
display_plugin: page
position: 4
display_options:
title: 'Specific services'
fields:
title:
id: title
title_1:
id: title_1
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: field
label: ''
exclude: false
exclude: true
alter:
alter_text: false
text: ''
alter_text: true
text: '{{ title_1 }}'
make_link: false
path: ''
absolute: false
......@@ -1786,14 +2155,14 @@ display:
suffix: ''
target: ''
nl2br: false
max_length: 0
max_length: 1
word_boundary: false
ellipsis: false
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
trim: true
preserve_tags: ''
html: false
element_type: ''
......@@ -1811,7 +2180,7 @@ display:
click_sort_column: value
type: string
settings:
link_to_entity: true
link_to_entity: false
group_column: value
group_columns: { }
group_rows: true
......@@ -1822,50 +2191,32 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: node
entity_field: title
plugin_id: field
field_uw_service_summary:
id: field_uw_service_summary
table: node__field_uw_service_summary
field: field_uw_service_summary
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: field
label: ''
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: ''
word_boundary: false
ellipsis: false
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
......@@ -1874,8 +2225,9 @@ display:
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: text_default
settings: { }
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
......@@ -1886,110 +2238,68 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
arguments:
tid:
id: tid
table: taxonomy_index
field: tid
relationship: none
group_type: group
admin_label: ''
default_action: 'not found'
exception:
value: all
title_enable: false
title: All
title_enable: true
title: '{{ arguments.tid }}'
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: true
validate:
type: 'entity:taxonomy_term'
fail: 'not found'
validate_options:
bundles:
uw_vocab_service_categories: uw_vocab_service_categories
operation: view
multiple: 0
access: false
break_phrase: false
add_table: false
require_value: false
reduce_duplicates: false
plugin_id: taxonomy_index_tid
sorts:
title:
id: title
table: node_field_data
field: title
field_uw_service_summary:
id: field_uw_service_summary
table: node__field_uw_service_summary
field: field_uw_service_summary
relationship: none
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
field_identifier: title
entity_type: node
entity_field: title
plugin_id: standard
pager:
type: none
options:
offset: 0
header: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_uw_service_summary'
services_specific_page:
display_plugin: page
id: services_specific_page
display_title: 'Specific services page'
position: 4
display_options:
display_extenders:
metatag_display_extender:
metatags:
title: '[current-page:title] | [site:name]'
description: 'Listing all published service nodes marked as "active" under [view:title] on the [site:name] site.'
canonical_url: '[current-page:url:absolute]'
og_url: '[current-page:metatag:url:absolute]'
og_title: '[current-page:metatag:title]'
og_description: '[current-page:metatag:description]'
og_image: '[current-page:metatag:image_src]'
og_locale: en_CA
twitter_cards_type: summary_large_image
display_description: ''
path: services/specific
title: 'Specific services'
defaults:
title: false
arguments: false
filters: false
filter_groups: false
fields: false
style: false
row: false
plugin_id: field
label: ''
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: false
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: text_default
settings: { }
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
arguments:
field_uw_service_category_target_id:
id: field_uw_service_category_target_id
......@@ -1998,6 +2308,7 @@ display:
relationship: none
group_type: group
admin_label: service
plugin_id: numeric
default_action: ignore
exception:
value: all
......@@ -2012,8 +2323,8 @@ display:
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
......@@ -2025,21 +2336,20 @@ display:
validate_options: { }
break_phrase: true
not: false
plugin_id: numeric
filters:
status:
value: '1'
id: status
table: node_field_data
field: status
plugin_id: boolean
entity_type: node
entity_field: status
id: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
type:
id: type
table: node_field_data
......@@ -2047,6 +2357,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: type
plugin_id: bundle
operator: in
value:
uw_ct_service: uw_ct_service
......@@ -2079,9 +2392,6 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: node
entity_field: type
plugin_id: bundle
field_uw_service_status_value:
id: field_uw_service_status_value
table: node__field_uw_service_status
......@@ -2089,6 +2399,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: list_field
operator: or
value:
active: active
......@@ -2122,7 +2433,6 @@ display:
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
plugin_id: list_field
delta:
id: delta
table: node__field_uw_service_category
......@@ -2130,6 +2440,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: numeric
operator: '='
value:
min: ''
......@@ -2159,9 +2470,9 @@ display:
uw_role_content_editor: '0'
uw_role_form_editor: '0'
uw_role_form_results_access: '0'
placeholder: ''
min_placeholder: ''
max_placeholder: ''
placeholder: ''
is_grouped: false
group_info:
label: ''
......@@ -2174,186 +2485,10 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
plugin_id: numeric
filter_groups:
operator: AND
groups:
1: AND
fields:
title_1:
id: title_1
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: true
alter:
alter_text: true
text: '{{ title_1 }}'
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: 1
word_boundary: false
ellipsis: false
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: true
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
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: string
settings:
link_to_entity: false
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
entity_type: node
entity_field: title
plugin_id: field
title:
id: title
table: node_field_data
field: title
entity_type: node
entity_field: title
label: ''
alter:
alter_text: false
make_link: false
absolute: false
trim: false
word_boundary: false
ellipsis: false
strip_tags: false
html: false
hide_empty: false
empty_zero: false
settings:
link_to_entity: true
plugin_id: field
relationship: none
group_type: group
admin_label: ''
exclude: 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_alter_empty: true
click_sort_column: value
type: string
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
field_uw_service_summary:
id: field_uw_service_summary
table: node__field_uw_service_summary
field: field_uw_service_summary
relationship: none
group_type: group
admin_label: ''
label: ''
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: false
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: text_default
settings: { }
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
plugin_id: field
style:
type: default
options:
......@@ -2371,6 +2506,28 @@ display:
inline: { }
separator: ''
hide_empty: false
defaults:
title: false
style: false
row: false
fields: false
arguments: false
filters: false
filter_groups: false
display_description: ''
display_extenders:
metatag_display_extender:
metatags:
title: '[current-page:title] | [site:name]'
description: 'Listing all published service nodes marked as "active" under [view:title] on the [site:name] site.'
canonical_url: '[current-page:url:absolute]'
og_url: '[current-page:metatag:url:absolute]'
og_title: '[current-page:metatag:title]'
og_description: '[current-page:metatag:description]'
og_image: '[current-page:metatag:image_src]'
og_locale: en_CA
twitter_cards_type: summary_large_image
path: services/specific
cache_metadata:
max-age: -1
contexts:
......
......@@ -22,52 +22,12 @@ base_table: taxonomy_term_field_data
base_field: tid
display:
default:
display_plugin: default
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
contextual_filters_or: false
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: none
options:
offset: 0
style:
type: html_list
options:
grouping: { }
row_class: ''
default_row_class: true
type: ul
wrapper_class: item-list
class: ''
row:
type: fields
title: Services
fields:
tid:
id: tid
......@@ -76,6 +36,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: tid
plugin_id: field
label: ''
exclude: true
alter:
......@@ -132,9 +95,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: taxonomy_term
entity_field: tid
plugin_id: field
field_uw_service_category_icon:
id: field_uw_service_category_icon
table: taxonomy_term__field_uw_service_category_icon
......@@ -142,6 +102,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: true
alter:
......@@ -186,8 +147,8 @@ display:
click_sort_column: target_id
type: media_thumbnail
settings:
image_style: uw_is_icon
image_link: ''
image_style: uw_is_icon
group_column: target_id
group_columns: { }
group_rows: true
......@@ -198,7 +159,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
name:
id: name
table: taxonomy_term_field_data
......@@ -206,6 +166,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: name
plugin_id: term_name
label: ''
exclude: true
alter:
......@@ -262,9 +225,6 @@ display:
separator: ', '
field_api_classes: false
convert_spaces: false
entity_type: taxonomy_term
entity_field: name
plugin_id: term_name
nid:
id: nid
table: node_field_data
......@@ -272,6 +232,9 @@ display:
relationship: reverse__node__field_uw_service_category
group_type: count_distinct
admin_label: ''
entity_type: node
entity_field: nid
plugin_id: field
label: ''
exclude: false
alter:
......@@ -313,14 +276,6 @@ display:
hide_empty: false
empty_zero: false
hide_alter_empty: true
set_precision: false
precision: 0
decimal: .
separator: ','
format_plural: 0
format_plural_string: !!binary MQNAY291bnQ=
prefix: (
suffix: )
click_sort_column: value
type: number_integer
settings:
......@@ -334,10 +289,15 @@ display:
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ','
field_api_classes: false
entity_type: node
entity_field: nid
plugin_id: field
set_precision: false
precision: 0
decimal: .
format_plural: 0
format_plural_string: !!binary MQNAY291bnQ=
prefix: (
suffix: )
description__value:
id: description__value
table: taxonomy_term_field_data
......@@ -345,6 +305,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: description
plugin_id: field
label: ''
exclude: false
alter:
......@@ -399,9 +362,73 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
pager:
type: none
options:
offset: 0
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
empty:
area:
id: area
table: views
field: area
relationship: none
group_type: group
admin_label: ''
plugin_id: text
empty: true
content:
value: 'There are no services available.'
format: uw_tf_standard
tokenize: false
sorts:
weight:
id: weight
table: taxonomy_term_field_data
field: weight
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: description
plugin_id: field
entity_field: weight
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: weight
exposed: false
name:
id: name
table: taxonomy_term_field_data
field: name
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: name
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: name
exposed: false
arguments: { }
filters:
status:
id: status
......@@ -410,6 +437,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: status
plugin_id: boolean
operator: '='
value: '1'
group: 1
......@@ -440,9 +470,6 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
plugin_id: boolean
entity_type: taxonomy_term
entity_field: status
vid:
id: vid
table: taxonomy_term_field_data
......@@ -450,6 +477,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: vid
plugin_id: bundle
operator: in
value:
uw_vocab_service_categories: uw_vocab_service_categories
......@@ -482,9 +512,6 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: taxonomy_term
entity_field: vid
plugin_id: bundle
status_1:
id: status_1
table: node_field_data
......@@ -492,6 +519,9 @@ display:
relationship: reverse__node__field_uw_service_category
group_type: group
admin_label: ''
entity_type: node
entity_field: status
plugin_id: boolean
operator: '='
value: '1'
group: 1
......@@ -522,9 +552,6 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: node
entity_field: status
plugin_id: boolean
field_uw_service_status_value:
id: field_uw_service_status_value
table: node__field_uw_service_status
......@@ -532,6 +559,7 @@ display:
relationship: reverse__node__field_uw_service_category
group_type: group
admin_label: ''
plugin_id: list_field
operator: or
value:
active: active
......@@ -565,55 +593,26 @@ display:
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
plugin_id: list_field
sorts:
weight:
id: weight
table: taxonomy_term_field_data
field: weight
relationship: none
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
field_identifier: weight
entity_type: taxonomy_term
entity_field: weight
plugin_id: standard
name:
id: name
table: taxonomy_term_field_data
field: name
relationship: none
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
field_identifier: name
entity_type: taxonomy_term
entity_field: name
plugin_id: standard
title: Services
header: { }
footer: { }
empty:
area:
id: area
table: views
field: area
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content:
value: 'There are no services available.'
format: uw_tf_standard
plugin_id: text
style:
type: html_list
options:
grouping: { }
row_class: ''
default_row_class: true
type: ul
wrapper_class: item-list
class: ''
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
contextual_filters_or: false
relationships:
reverse__node__field_uw_service_category:
id: reverse__node__field_uw_service_category
......@@ -622,12 +621,13 @@ display:
relationship: none
group_type: group
admin_label: field_uw_service_category
required: false
entity_type: taxonomy_term
plugin_id: entity_reverse
arguments: { }
display_extenders: { }
required: false
group_by: true
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
......@@ -637,31 +637,12 @@ display:
tags:
- 'config:field.storage.taxonomy_term.field_uw_service_category_icon'
services_by_audience_page:
display_plugin: page
id: services_by_audience_page
display_title: 'Services by Audience Page'
display_plugin: page
position: 2
display_options:
display_extenders:
metatag_display_extender:
metatags:
title: '[current-page:title] | [site:name]'
description: 'Listing the audiences with published service nodes on the [site:name] site.'
content_language: en-CA
image_src: 'https://uwaterloo.ca/university-of-waterloo-logo-152.png'
og_url: '[current-page:url:absolute]'
og_title: '[current-page:metatag:title]'
og_description: '[current-page:metatag:description]'
og_image: '[current-page:metatag:image_src]'
og_locale: en_CA
display_description: ''
title: 'Services by audience'
defaults:
title: false
fields: false
relationships: false
filters: false
filter_groups: false
fields:
tid:
id: tid
......@@ -670,6 +651,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: tid
plugin_id: field
label: ''
exclude: true
alter:
......@@ -726,9 +710,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: taxonomy_term
entity_field: tid
plugin_id: field
name:
id: name
table: taxonomy_term_field_data
......@@ -736,6 +717,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: name
plugin_id: term_name
label: ''
exclude: true
alter:
......@@ -792,9 +776,6 @@ display:
separator: ', '
field_api_classes: false
convert_spaces: false
entity_type: taxonomy_term
entity_field: name
plugin_id: term_name
nid:
id: nid
table: node_field_data
......@@ -802,6 +783,9 @@ display:
relationship: reverse__node__field_uw_service_audience
group_type: count_distinct
admin_label: ''
entity_type: node
entity_field: nid
plugin_id: field
label: ''
exclude: false
alter:
......@@ -843,14 +827,6 @@ display:
hide_empty: false
empty_zero: false
hide_alter_empty: true
set_precision: false
precision: 0
decimal: .
separator: ','
format_plural: 0
format_plural_string: !!binary MQNAY291bnQ=
prefix: (
suffix: )
click_sort_column: value
type: number_integer
settings:
......@@ -864,21 +840,15 @@ display:
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ','
field_api_classes: false
entity_type: node
entity_field: nid
plugin_id: field
relationships:
reverse__node__field_uw_service_audience:
id: reverse__node__field_uw_service_audience
table: taxonomy_term_field_data
field: reverse__node__field_uw_service_audience
relationship: none
group_type: group
admin_label: field_uw_service_audience
required: false
entity_type: taxonomy_term
plugin_id: entity_reverse
set_precision: false
precision: 0
decimal: .
format_plural: 0
format_plural_string: !!binary MQNAY291bnQ=
prefix: (
suffix: )
filters:
status:
id: status
......@@ -887,6 +857,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: status
plugin_id: boolean
operator: '='
value: '1'
group: 1
......@@ -917,9 +890,6 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
plugin_id: boolean
entity_type: taxonomy_term
entity_field: status
vid:
id: vid
table: taxonomy_term_field_data
......@@ -927,6 +897,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: vid
plugin_id: bundle
operator: in
value:
uw_vocab_audience: uw_vocab_audience
......@@ -959,9 +932,6 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: taxonomy_term
entity_field: vid
plugin_id: bundle
status_1:
id: status_1
table: node_field_data
......@@ -969,6 +939,9 @@ display:
relationship: reverse__node__field_uw_service_audience
group_type: group
admin_label: ''
entity_type: node
entity_field: status
plugin_id: boolean
operator: '='
value: '1'
group: 1
......@@ -999,9 +972,6 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: node
entity_field: status
plugin_id: boolean
field_uw_service_status_value:
id: field_uw_service_status_value
table: node__field_uw_service_status
......@@ -1009,6 +979,7 @@ display:
relationship: reverse__node__field_uw_service_audience
group_type: group
admin_label: ''
plugin_id: list_field
operator: or
value:
active: active
......@@ -1042,11 +1013,40 @@ display:
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
plugin_id: list_field
filter_groups:
operator: AND
groups:
1: AND
defaults:
title: false
relationships: false
fields: false
filters: false
filter_groups: false
relationships:
reverse__node__field_uw_service_audience:
id: reverse__node__field_uw_service_audience
table: taxonomy_term_field_data
field: reverse__node__field_uw_service_audience
relationship: none
group_type: group
admin_label: field_uw_service_audience
entity_type: taxonomy_term
plugin_id: entity_reverse
required: false
display_description: ''
display_extenders:
metatag_display_extender:
metatags:
title: '[current-page:title] | [site:name]'
description: 'Listing the audiences with published service nodes on the [site:name] site.'
content_language: en-CA
image_src: 'https://uwaterloo.ca/university-of-waterloo-logo-152.png'
og_url: '[current-page:url:absolute]'
og_title: '[current-page:metatag:title]'
og_description: '[current-page:metatag:description]'
og_image: '[current-page:metatag:image_src]'
og_locale: en_CA
path: services/audience
cache_metadata:
max-age: -1
......@@ -1056,11 +1056,228 @@ display:
- user.permissions
tags: { }
services_page:
display_plugin: page
id: services_page
display_title: 'Service Categories Page'
display_plugin: page
position: 1
display_options:
filters:
status:
id: status
table: taxonomy_term_field_data
field: status
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: status
plugin_id: boolean
operator: '='
value: '1'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
vid:
id: vid
table: taxonomy_term_field_data
field: vid
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
entity_field: vid
plugin_id: bundle
operator: in
value:
uw_vocab_service_categories: uw_vocab_service_categories
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
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: { }
status_1:
id: status_1
table: node_field_data
field: status
relationship: reverse__node__field_uw_service_category
group_type: group
admin_label: ''
entity_type: node
entity_field: status
plugin_id: boolean
operator: '='
value: '1'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
field_uw_service_status_value:
id: field_uw_service_status_value
table: node__field_uw_service_status
field: field_uw_service_status_value
relationship: reverse__node__field_uw_service_category
group_type: group
admin_label: ''
plugin_id: list_field
operator: or
value:
active: active
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
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: { }
reduce_duplicates: false
depth_level:
id: depth_level
table: taxonomy_term_field_data
field: depth_level
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
plugin_id: numeric
operator: '='
value:
min: ''
max: ''
value: '1'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
min_placeholder: ''
max_placeholder: ''
placeholder: ''
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
filter_groups:
operator: AND
groups:
1: AND
defaults:
filters: false
filter_groups: false
display_description: ''
display_extenders:
metatag_display_extender:
metatags:
......@@ -1076,7 +1293,6 @@ display:
og_locale: en_CA
twitter_cards_type: summary_large_image
path: services
display_description: ''
cache_metadata:
max-age: -1
contexts:
......
......@@ -27,8 +27,10 @@ dependencies:
- 'drupal:views'
- 'entity_reference_revisions:entity_reference_revisions'
- 'field_group:field_group'
- 'fieldable_path:fieldable_path'
- 'geofield:geofield'
- 'geofield_map:geofield_map'
- 'jsonapi_extras:jsonapi_extras'
- 'layout_builder_restrictions:layout_builder_restrictions'
- 'maxlength:maxlength'
- 'metatag:metatag'
......
......@@ -7,6 +7,8 @@
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
use Drupal\views\Plugin\views\query\QueryPluginBase;
use Drupal\views\ViewExecutable;
/**
* Implements hook_geofield_map_latlon_element_alter().
......@@ -195,3 +197,40 @@ function uw_ct_service_preprocess_views_view(&$variables) {
$variables['content_list'] = $content_list;
}
}
/**
* Implements hook_views_query_alter().
*/
function uw_ct_service_views_query_alter(
ViewExecutable $view,
QueryPluginBase $query
) {
if ($view->id() == 'uw_view_service_show_nodes' && $view->current_display == 'services_in_category_page') {
$parent_tid = $view->args[0];
$vid = 'uw_vocab_service_categories';
// 1 to get only immediate children, NULL to load entire tree.
$depth = 1;
// True will return loaded entities rather than ids.
$load_entities = FALSE;
$child_terms = \Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadTree($vid, $parent_tid, $depth, $load_entities);
// Services category view is based on nested service categories.
// If passing taxonomy term doesn't include child terms, we should
// remove relationship via service category field and related to it.
if (empty($child_terms)) {
unset($query->fields['node__field_uw_service_category_delta']);
unset($query->fields['node__field_uw_service_category_field_uw_service_category_ta']);
unset($query->fields['taxonomy_term_field_data_node__field_uw_service_category_dep']);
unset($query->fields['taxonomy_term_field_data_node__field_uw_service_category_wei']);
unset($view->storage->getDisplay('services_in_category_page')['display_options']['fields']['field_uw_service_category']);
unset($view->storage->getDisplay('services_in_category_page')['display_options']['style']['options']['grouping'][0]);
unset($view->storage->getDisplay('services_in_category_page')['display_options']['relationships']);
unset($view->storage->getDisplay('services_in_category_page')['display_options']['sorts']['depth_level']);
unset($view->storage->getDisplay('services_in_category_page')['display_options']['sorts']['weight']);
unset($query->where[1]['conditions'][2]);
unset($query->orderby[0]);
unset($query->orderby[1]);
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment