Add teaser taxonomy term feed

where we try to optimize for Drupal Planet while still getting all
our unique coolness (multiple authors, permalink guid) accounted for.
This commit is contained in:
benjamin melançon 2019-01-17 13:30:30 -05:00
parent b049b761c3
commit eec831e40e

View file

@ -4,6 +4,7 @@ status: true
dependencies: dependencies:
config: config:
- core.entity_view_mode.node.rss - core.entity_view_mode.node.rss
- core.entity_view_mode.node.rss_teaser
- core.entity_view_mode.node.teaser - core.entity_view_mode.node.teaser
- field.storage.node.field_authors - field.storage.node.field_authors
- field.storage.node.field_body_paragraph - field.storage.node.field_body_paragraph
@ -266,8 +267,8 @@ display:
- user.permissions - user.permissions
max-age: -1 max-age: -1
tags: { } tags: { }
feed_1: feed:
id: feed_1 id: feed
display_title: Feed display_title: Feed
display_plugin: feed display_plugin: feed
position: 2 position: 2
@ -278,7 +279,7 @@ display:
pager: pager:
type: some type: some
options: options:
items_per_page: 10 items_per_page: 12
offset: 0 offset: 0
path: taxonomy/term/%/feed path: taxonomy/term/%/feed
displays: displays:
@ -697,6 +698,34 @@ display:
tags: tags:
- 'config:field.storage.node.field_authors' - 'config:field.storage.node.field_authors'
- 'config:field.storage.node.field_body_paragraph' - 'config:field.storage.node.field_body_paragraph'
feed_teasers:
display_plugin: feed
id: feed_teasers
display_title: 'Teaser feed'
position: 3
display_options:
display_extenders: { }
row:
type: node_rss
options:
relationship: none
view_mode: rss_teaser
display_description: ''
path: taxonomy/term/%/teasers/feed
pager:
type: some
options:
items_per_page: 24
offset: 0
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags: { }
page_1: page_1:
id: page_1 id: page_1
display_title: Page display_title: Page