Skip to content

Instantly share code, notes, and snippets.

@rbrum
Created March 20, 2019 19:59
Show Gist options
  • Save rbrum/f4d9a9cfdeb45073071d0ca2bd8720b9 to your computer and use it in GitHub Desktop.
Save rbrum/f4d9a9cfdeb45073071d0ca2bd8720b9 to your computer and use it in GitHub Desktop.
Split up FS&U: Grid Feeds
uuid: 1340f08d-b16f-4320-9f6e-37c1c9393bf7
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- node.type.article
- node.type.corporate_page
- node.type.external_resource
module:
- datetime
- node
- user
- views_infinite_scroll
id: fsu_feed_grid
label: 'Features, Stories & Updates (FSU) Grid'
module: views
description: ''
tag: ''
base_table: node_field_data
base_field: nid
core: 8.x
display:
default:
display_plugin: default
id: default
display_title: Master
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: true
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: false
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: some
options:
items_per_page: 12
offset: 0
style:
type: default
row:
type: 'entity:node'
options:
relationship: none
view_mode: teaser
fields:
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
filters:
status:
value: '1'
table: node_field_data
field: status
plugin_id: boolean
entity_type: node
entity_field: status
id: status
expose:
operator: ''
group: 1
type:
id: type
table: node_field_data
field: type
relationship: none
group_type: group
admin_label: ''
operator: in
value:
article: 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
argument: null
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
sorts:
field_display_date_value:
id: field_display_date_value
table: node__field_display_date
field: field_display_date_value
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
granularity: second
plugin_id: datetime
title: 'Our Programs, Features and Stories'
header: { }
footer: { }
empty: { }
relationships: { }
arguments:
field_corporate_pages_target_id:
id: field_corporate_pages_target_id
table: node__field_corporate_pages
field: field_corporate_pages_target_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
plugin_id: numeric
display_extenders: { }
use_more: false
use_more_always: false
use_more_text: 'Load more'
use_ajax: true
css_class: fsu-grid
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags: { }
global:
display_plugin: block
id: global
display_title: Global
position: 1
display_options:
display_extenders: { }
display_description: 'Tile Grid (Below the Fold)'
display_comment: 'This is the FSU feed displayed "below the fold" (underneath the main content) of <em>Corporate Pages</em> and other similar pages.'
pager:
type: infinite_scroll
options:
items_per_page: 6
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: 'Load More'
automatically_load_content: false
defaults:
pager: false
css_class: false
arguments: false
filters: false
filter_groups: false
sorts: false
title: false
css_class: fsu-grid
block_description: 'FS&U - Grid (Below Fold)'
arguments:
field_corporate_pages_target_id:
id: field_corporate_pages_target_id
table: node__field_corporate_pages
field: field_corporate_pages_target_id
relationship: none
group_type: group
admin_label: ''
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: node
default_argument_options: { }
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
plugin_id: numeric
filters:
status:
value: '1'
table: node_field_data
field: status
plugin_id: boolean
entity_type: node
entity_field: status
id: status
expose:
operator: ''
group: 1
type:
id: type
table: node_field_data
field: type
relationship: none
group_type: group
admin_label: ''
operator: in
value:
article: article
corporate_page: corporate_page
external_resource: external_resource
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
argument: null
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
filter_groups:
operator: AND
groups:
1: AND
sorts:
field_display_date_value:
id: field_display_date_value
table: node__field_display_date
field: field_display_date_value
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
granularity: second
plugin_id: datetime
created:
id: created
table: node_field_data
field: created
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
granularity: second
entity_type: node
entity_field: created
plugin_id: date
title: 'Our Programs, Features and Stories'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags: { }
newsroom:
display_plugin: block
id: newsroom
display_title: Newsroom
position: 1
display_options:
display_extenders: { }
display_description: 'Newsroom Tile Grid (Above the Fold)'
display_comment: 'This is the FSU feed displayed "below the fold" (underneath the main content) of <em>Corporate Pages</em> and other similar pages.'
pager:
type: infinite_scroll
options:
items_per_page: 3
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: 'Load More'
automatically_load_content: false
defaults:
pager: false
css_class: false
arguments: false
filters: false
filter_groups: false
sorts: false
title: false
css_class: fsu-grid
block_description: 'FS&U - Grid (Below Fold)'
arguments:
field_corporate_pages_target_id:
id: field_corporate_pages_target_id
table: node__field_corporate_pages
field: field_corporate_pages_target_id
relationship: none
group_type: group
admin_label: ''
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: node
default_argument_options: { }
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
plugin_id: numeric
filters:
status:
value: '1'
table: node_field_data
field: status
plugin_id: boolean
entity_type: node
entity_field: status
id: status
expose:
operator: ''
group: 1
type:
id: type
table: node_field_data
field: type
relationship: none
group_type: group
admin_label: ''
operator: in
value:
article: article
corporate_page: corporate_page
external_resource: external_resource
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
argument: null
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
filter_groups:
operator: AND
groups:
1: AND
sorts:
field_display_date_value:
id: field_display_date_value
table: node__field_display_date
field: field_display_date_value
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
granularity: second
plugin_id: datetime
created:
id: created
table: node_field_data
field: created
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
granularity: second
entity_type: node
entity_field: created
plugin_id: date
title: 'Featured News'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags: { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment