geolocation-8.x-3.x-dev/modules/geolocation_demo/config/install/views.view.geolocation_demo_proximity_argument_and_sort.yml
modules/geolocation_demo/config/install/views.view.geolocation_demo_proximity_argument_and_sort.yml
langcode: en
status: true
dependencies:
config:
- node.type.geolocation_default_article
- system.menu.geolocation-demo
module:
- geolocation
- node
- user
enforced:
module:
- geolocation_demo
id: geolocation_demo_proximity_argument_and_sort
label: 'Geolocation Demo - Proximity Argument & Sort'
module: views
description: ''
tag: 'Geolocation Demo'
base_table: node_field_data
base_field: nid
display:
default:
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
title: 'Geolocation Demo - Proximity Argument & Sort'
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
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
field_geolocation_demo_single_proximity:
id: field_geolocation_demo_single_proximity
table: node__field_geolocation_demo_single
field: field_geolocation_demo_single_proximity
relationship: none
group_type: group
admin_label: ''
plugin_id: geolocation_field_proximity
label: 'Distance in specified units'
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
set_precision: true
precision: 2
decimal: .
separator: ','
format_plural: false
format_plural_string: !!binary MQNAY291bnQ=
prefix: ''
suffix: ''
display_unit: km
center:
fixed_value:
enable: false
weight: 0
settings:
latitude: 0.0
longitude: 0.0
location_plugin_id: fixed_value
field_geolocation_demo_single_proximity:
enable: true
weight: 0
location_plugin_id: views_proximity_argument
ipstack:
enable: false
weight: 0
settings:
access_key: ''
location_plugin_id: ipstack
pager:
type: some
options:
offset: 0
items_per_page: 10
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'
empty: { }
sorts:
field_geolocation_demo_single_proximity:
id: field_geolocation_demo_single_proximity
table: node__field_geolocation_demo_single
field: field_geolocation_demo_single_proximity
relationship: none
group_type: group
admin_label: ''
plugin_id: geolocation_sort_proximity
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
arguments:
field_geolocation_demo_single_proximity:
id: field_geolocation_demo_single_proximity
table: node__field_geolocation_demo_single
field: field_geolocation_demo_single_proximity
relationship: none
group_type: group
admin_label: ''
plugin_id: geolocation_argument_proximity
default_action: empty
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: fixed
default_argument_options:
argument: ''
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: { }
filters:
status:
id: status
table: node_field_data
field: status
entity_type: node
entity_field: status
plugin_id: boolean
value: '1'
group: 1
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:
geolocation_default_article: geolocation_default_article
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
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: { }
style:
type: default
options:
grouping: { }
row_class: ''
default_row_class: true
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header:
area:
id: area
table: views
field: area
relationship: none
group_type: group
admin_label: ''
plugin_id: text
empty: true
content:
value: |-
Simply attach an URL argument after <strong>"/"</strong> in the format <strong>"[Latitude],[Longitude][Operator][Distance][Unit]"</strong> (defaults to km).<br>
<br>
Try for example: <a href="[site:url]/geolocation-demo/proximity_argument_and_sort/37.7749295,-122.41941550000001<=5000mi">/37.7749295,-122.41941550000001<=5000miles</a><br>
<br>
format: basic_html
tokenize: false
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags: { }
page_1:
id: page_1
display_title: Page
display_plugin: page
position: 1
display_options:
display_extenders: { }
path: geolocation-demo/proximity_argument_and_sort
menu:
type: normal
title: 'Proximity Argument & Sort'
description: ''
weight: 0
expanded: false
menu_name: geolocation-demo
parent: ''
context: '0'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags: { }
