Commit 6278ad45 authored by damiankloip's avatar damiankloip Committed by tim.plunkett
Browse files

Issue #1650778 by damiankloip: Convert default views into YAML files for CMI.

parent fe83dcab
disabled: true
api_version: '3.0'
name: archive
description: 'Display a list of months that link to content for that month.'
tag: default
base_table: node
human_name: Archive
core: '0'
display:
default:
id: default
display_title: Master
display_plugin: default
position: '1'
display_options:
query:
type: views_query
options:
query_comment: false
title: 'Monthly archive'
access:
type: none
cache:
type: none
exposed_form:
type: basic
pager:
type: full
style_plugin: default
row_plugin: node
sorts:
created:
id: created
table: node
field: created
order: DESC
arguments:
created_year_month:
id: created_year_month
table: node
field: created_year_month
default_action: summary
exception:
title_enable: 1
title_enable: 1
title: '%1'
default_argument_type: fixed
summary:
sort_order: desc
format: default_summary
summary_options:
override: true
items_per_page: '30'
specify_validation: 1
filters:
status:
id: status
table: node
field: status
value: 1
group: 0
expose:
operator: false
page:
id: page
display_title: Page
display_plugin: page
position: '2'
display_options:
query:
type: views_query
options: { }
path: archive
block:
id: block
display_title: Block
display_plugin: block
position: '3'
display_options:
query:
type: views_query
options: { }
defaults:
arguments: false
arguments:
created_year_month:
id: created_year_month
table: node
field: created_year_month
default_action: summary
exception:
title_enable: 1
title_enable: 1
title: '%1'
default_argument_type: fixed
summary:
format: default_summary
summary_options:
items_per_page: '30'
specify_validation: 1
disabled: true
api_version: '3.0'
name: backlinks
description: 'Displays a list of nodes that link to the node, using the search backlinks table.'
tag: default
base_table: node
human_name: Backlinks
core: '0'
display:
default:
id: default
display_title: Master
display_plugin: default
position: '1'
display_options:
query:
type: views_query
options:
query_comment: false
access:
type: none
cache:
type: none
exposed_form:
type: basic
pager:
type: full
options:
items_per_page: 30
style_plugin: list
style_options:
type: ol
row_plugin: fields
empty:
text:
id: area
table: views
field: area
empty: false
content: 'No backlinks found.'
format: '1'
fields:
title:
id: title
table: node
field: title
label: ''
link_to_node: 1
arguments:
nid:
id: nid
table: search_node_links_to
field: nid
default_action: 'not found'
title_enable: 1
title: 'Pages that link to %1'
default_argument_type: fixed
summary:
format: default_summary
specify_validation: 1
validate:
type: node
filters:
status:
id: status
table: node
field: status
value: 1
group: 0
expose:
operator: false
page:
id: page
display_title: Page
display_plugin: page
position: '2'
display_options:
query:
type: views_query
options: { }
path: node/%/backlinks
menu:
type: tab
title: 'What links here'
weight: '0'
block:
id: block
display_title: 'What links here'
display_plugin: block
position: '3'
display_options:
query:
type: views_query
options: { }
defaults:
use_more: false
style_plugin: false
style_options: false
row_plugin: false
row_options: false
arguments: false
use_more: true
style_plugin: list
row_plugin: fields
arguments:
nid:
id: nid
table: search_node_links_to
field: nid
default_action: default
title_enable: 1
title: 'What links here'
default_argument_type: node
summary:
format: default_summary
specify_validation: 1
validate:
type: node
disabled: true
api_version: '3.0'
name: comments_recent
description: 'Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.'
tag: default
base_table: comment
human_name: 'Recent comments'
core: '0'
display:
default:
id: default
display_title: Master
display_plugin: default
position: '1'
display_options:
query:
type: views_query
options:
query_comment: false
title: 'Recent comments'
use_more: true
access:
type: none
cache:
type: none
exposed_form:
type: basic
pager:
type: some
options:
items_per_page: 5
style_plugin: list
row_plugin: fields
relationships:
nid:
id: nid
table: comment
field: nid
fields:
subject:
id: subject
table: comment
field: subject
label: ''
link_to_comment: 1
timestamp:
id: timestamp
table: comment
field: changed
label: ''
date_format: 'time ago'
sorts:
timestamp:
id: timestamp
table: comment
field: changed
order: DESC
filters:
status_extra:
id: status_extra
table: node
field: status_extra
relationship: nid
group: 0
page:
id: page
display_title: Page
display_plugin: page
position: '2'
display_options:
query:
type: views_query
options: { }
defaults:
style_plugin: false
style_options: false
row_plugin: false
row_options: false
fields: false
style_plugin: list
row_plugin: fields
row_options:
inline:
title: title
timestamp: timestamp
separator: ' '
fields:
title:
id: title
table: node
field: title
relationship: nid
label: 'Reply to'
link_to_node: 1
timestamp:
id: timestamp
table: comment
field: changed
label: ''
date_format: 'time ago'
subject:
id: subject
table: comment
field: subject
label: ''
link_to_comment: 1
comment:
id: comment
table: field_data_comment_body
field: comment_body
label: ''
path: comments/recent
block:
id: block
display_title: Block
display_plugin: block
position: '3'
display_options:
query:
type: views_query
options: { }
disabled: true
api_version: '3.0'
name: frontpage
description: 'Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page.'
tag: default
base_table: node
human_name: 'Front page'
core: '0'
display:
default:
id: default
display_title: Master
display_plugin: default
position: '1'
display_options:
query:
type: views_query
options:
query_comment: false
access:
type: none
cache:
type: none
exposed_form:
type: basic
pager:
type: full
style_plugin: default
row_plugin: node
row_options:
links: 1
sorts:
sticky:
id: sticky
table: node
field: sticky
order: DESC
created:
id: created
table: node
field: created
order: DESC
filters:
promote:
id: promote
table: node
field: promote
value: '1'
group: 0
expose:
operator: false
status:
id: status
table: node
field: status
value: '1'
group: 0
expose:
operator: false
page:
id: page
display_title: Page
display_plugin: page
position: '2'
display_options:
query:
type: views_query
options: { }
path: frontpage
feed:
id: feed
display_title: Feed
display_plugin: feed
position: '3'
display_options:
query:
type: views_query
options: { }
defaults:
title: false
title: 'Front page feed'
pager:
type: some
style_plugin: rss
row_plugin: node_rss
path: rss.xml
displays:
default: default
page: page
sitename_title: '1'
disabled: true
api_version: '3.0'
name: glossary
description: 'A list of all content, by letter.'
tag: default
base_table: node
human_name: Glossary
core: '0'
display:
default:
id: default
display_title: Master
display_plugin: default
position: '1'
display_options:
query:
type: views_query
options:
query_comment: false
use_ajax: true
access:
type: none
cache:
type: none
exposed_form:
type: basic
pager:
type: full
options:
items_per_page: 36
style_plugin: table
style_options:
columns:
title: title
name: name
changed: changed
default: title
info:
title:
sortable: 1
separator: ''
name:
sortable: 1
separator: ''
changed:
sortable: 1
separator: ''
override: 1
sticky: 0
fields:
title:
id: title
table: node
field: title
link_to_node: 1
name:
id: name
table: users
field: name
label: Author
link_to_user: 1
relationship: uid
changed:
id: changed
table: node
field: changed
label: 'Last update'
date_format: large
arguments:
title:
id: title
table: node
field: title
default_action: default
exception:
title_enable: 1
default_argument_type: fixed
default_argument_options:
argument: a
summary:
format: default_summary
specify_validation: 1
glossary: 1
limit: '1'
case: upper
path_case: lower
transform_dash: 0
relationships:
uid:
id: uid
table: node
field: uid
page:
id: page
display_title: Page
display_plugin: page
position: '2'
display_options:
query:
type: views_query
options: { }
path: glossary
menu:
type: normal
title: Glossary
weight: '0'
attachment:
id: attachment
display_title: Attachment
display_plugin: attachment
position: '3'
display_options:
query:
type: views_query
options: { }
pager:
type: none
options:
offset: '0'
defaults:
arguments: false
arguments:
title:
id: title
table: node
field: title
default_action: summary
exception:
title_enable: 1
default_argument_type: fixed
default_argument_options:
argument: a
summary:
format: unformatted_summary
summary_options:
items_per_page: '25'
inline: 1
separator: ' | '
specify_validation: 1
glossary: 1
limit: '1'
case: upper
path_case: lower
transform_dash: 0
displays:
default: default
page: page
inherit_arguments: 0
disabled: true
api_version: '3.0'
name: taxonomy_term
description: 'A view to emulate Drupal core''s handling of taxonomy/term.'
tag: default
base_table: node
human_name: 'Taxonomy term'
core: '7'
display:
default:
id: default
display_title: Master
display_plugin: default
position: '1'
display_options:
query:
type: views_query
options:
query_comment: false
access:
type: none
cache:
type: none
exposed_form:
type: basic
pager:
type: full
style_plugin: default
row_plugin: node
sorts:
sticky:
id: sticky
table: node
field: sticky
order: DESC
created:
id: created
table: node
field: created
order: DESC
arguments: