Skip to content

Instantly share code, notes, and snippets.

@jackrabbithanna
Created February 14, 2022 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jackrabbithanna/c1e9c95d256f0d27238dfd179f659a1b to your computer and use it in GitHub Desktop.
Save jackrabbithanna/c1e9c95d256f0d27238dfd179f659a1b to your computer and use it in GitHub Desktop.
Contacts in Group sample view yaml configuration
langcode: en
status: true
dependencies:
module:
- civicrm_entity
id: contacts_in_group_temp
label: 'Contacts in group temp'
module: views
description: ''
tag: ''
base_table: civicrm_contact
base_field: id
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
fields:
display_name:
id: display_name
table: civicrm_contact
field: display_name
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: display_name
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: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
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
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: 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: none
options: { }
cache:
type: tag
options: { }
empty: { }
sorts: { }
arguments: { }
filters:
id:
id: id
table: civicrm_group
field: id
relationship: civicrm_group
group_type: group
admin_label: ''
entity_type: civicrm_group
entity_field: id
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: { }
is_active:
id: is_active
table: civicrm_group
field: is_active
relationship: civicrm_group
group_type: group
admin_label: ''
entity_type: civicrm_group
entity_field: is_active
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: { }
style:
type: table
options:
grouping: { }
row_class: ''
default_row_class: true
columns:
display_name: display_name
default: '-1'
info:
display_name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
override: true
sticky: false
summary: ''
empty_table: false
caption: ''
description: ''
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: { }
relationships:
civicrm_group:
id: civicrm_group
table: civicrm_contact
field: civicrm_group
relationship: none
group_type: group
admin_label: 'CiviCRM group'
entity_type: civicrm_contact
plugin_id: civicrm_entity_civicrm_group_contact
required: false
header: { }
footer: { }
display_extenders:
metatag_display_extender:
metatags: { }
tokenize: false
simple_sitemap_display_extender: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
tags: { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment