community_builder-1.0.0-alpha1/config/install/views.view.community_listing.yml
config/install/views.view.community_listing.yml
langcode: en
status: true
dependencies:
config:
- field.storage.group.field_banner
- group.type.community
- image.style.communities_list
module:
- group
- image
- views_infinite_scroll
id: community_listing
label: 'Community listing'
module: views
description: 'List all the communities'
tag: ''
base_table: groups_field_data
base_field: id
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: none
options: { }
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
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: infinite_scroll
options:
items_per_page: 8
offset: 0
id: 0
total_pages: null
tags:
previous: '‹ Previous'
next: 'Next ›'
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
views_infinite_scroll:
button_text: 'See More'
automatically_load_content: true
style:
type: default
options:
grouping: { }
row_class: 'communities-list__col col-lg-3 col-sm-6 col-12'
default_row_class: true
row:
type: fields
fields:
field_banner:
id: field_banner
table: group__field_banner
field: field_banner
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: '0'
element_class: ''
element_label_type: '0'
element_label_class: ''
element_label_colon: false
element_wrapper_type: div
element_wrapper_class: communities-list__image
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: image
settings:
image_style: communities_list
image_link: content
group_column: ''
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
label:
id: label
table: groups_field_data
field: label
relationship: none
group_type: group
admin_label: ''
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: 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
entity_type: null
entity_field: label
plugin_id: field
view_group:
id: view_group
table: groups
field: view_group
relationship: none
group_type: group
admin_label: ''
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
text: ''
output_url_as_text: true
absolute: true
entity_type: group
plugin_id: entity_link
nothing:
id: nothing
table: views
field: nothing
relationship: none
group_type: group
admin_label: ''
label: ''
exclude: false
alter:
alter_text: true
text: "<h4 class=\"communities-list__title\">{{ label }}</h4>\r\n<a class=\"communities-list__btn btn\" href=\"{{ view_group }}\">\r\n<span class=\"communities-list__btn__text\">Join</span>\r\n<span class=\"communities-list__btn__icon\">+</span>\r\n</a>\r\n"
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: '0'
element_class: ''
element_label_type: '0'
element_label_class: ''
element_label_colon: false
element_wrapper_type: div
element_wrapper_class: communities-list__title-wrapper
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: false
plugin_id: custom
filters:
type:
id: type
table: groups_field_data
field: type
value:
community: community
entity_type: group
entity_field: type
plugin_id: bundle
expose:
operator_limit_selection: false
operator_list: { }
field_featured_value:
id: field_featured_value
table: group__field_featured
field: field_featured_value
relationship: none
group_type: group
admin_label: ''
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: { }
plugin_id: boolean
sorts:
created:
id: created
table: groups_field_data
field: created
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
granularity: second
entity_type: group
entity_field: created
plugin_id: date
title: Communities
header: { }
footer: { }
empty: { }
relationships: { }
arguments:
id:
id: id
table: groups_field_data
field: id
relationship: none
group_type: group
admin_label: ''
default_action: 'not found'
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
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
entity_type: group
entity_field: id
plugin_id: group_id
display_extenders: { }
use_ajax: true
css_class: communities-list
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
tags:
- 'config:field.storage.group.field_banner'
block_community_listing:
display_plugin: block
id: block_community_listing
display_title: 'Featured Community Block'
position: 2
display_options:
display_extenders: { }
display_description: ''
arguments: { }
defaults:
arguments: false
pager: false
footer: false
filters: false
filter_groups: false
css_class: false
block_hide_empty: true
pager:
type: some
options:
items_per_page: 4
offset: 0
footer:
area:
id: area
table: views
field: area
relationship: none
group_type: group
admin_label: ''
empty: false
tokenize: false
content:
value: "<a href=\"[view:url]\">\r\n<button type=\"button\" class=\"btn btn-primary btn--see-all\">See All</button>\r\n</a>"
format: full_html
plugin_id: text
filters:
type:
id: type
table: groups_field_data
field: type
value:
community: community
entity_type: group
entity_field: type
plugin_id: bundle
expose:
operator_limit_selection: false
operator_list: { }
field_featured_value:
id: field_featured_value
table: group__field_featured
field: field_featured_value
relationship: none
group_type: group
admin_label: ''
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: { }
plugin_id: boolean
filter_groups:
operator: AND
groups:
1: AND
css_class: 'container communities-list'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
tags:
- 'config:field.storage.group.field_banner'
page:
display_plugin: page
id: page
display_title: 'Community Listing Page'
position: 1
display_options:
display_extenders: { }
display_description: ''
arguments: { }
defaults:
arguments: false
css_class: false
filters: false
filter_groups: false
path: communities
css_class: 'container communities-list communities-list--page'
filters:
type:
id: type
table: groups_field_data
field: type
value:
community: community
entity_type: group
entity_field: type
plugin_id: bundle
expose:
operator_limit_selection: false
operator_list: { }
label:
id: label
table: groups_field_data
field: label
relationship: none
group_type: group
admin_label: ''
operator: word
value: ''
group: 1
exposed: true
expose:
operator_id: label_op
label: ''
description: ''
use_operator: false
operator: label_op
operator_limit_selection: false
operator_list: { }
identifier: label
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
editor: '0'
api_user: '0'
community: '0'
placeholder: 'Search for communities here'
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: group
entity_field: label
plugin_id: string
filter_groups:
operator: AND
groups:
1: AND
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
tags:
- 'config:field.storage.group.field_banner'
