views.view.test_view_block_with_context.yml in Drupal 10
core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block_with_context.yml
File
core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block_with_context.ymlView source
- langcode: en
- status: true
- dependencies:
- module:
- - node
- - user
- id: test_view_block_with_context
- label: test_view_block_with_context
- module: views
- description: ''
- tag: ''
- base_table: node_field_data
- base_field: nid
- display:
- default:
- display_plugin: default
- id: default
- display_title: Default
- 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: 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: some
- options:
- items_per_page: 5
- offset: 0
- style:
- type: default
- row:
- type: fields
- fields:
- title:
- id: title
- table: node_field_data
- field: title
- relationship: none
- group_type: group
- admin_label: ''
- label: ''
- exclude: false
- alter:
- alter_text: true
- text: 'Test view row: {{ title }}'
- 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
- plugin_id: field
- 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
- sorts:
- created:
- id: created
- table: node_field_data
- field: created
- order: DESC
- entity_type: node
- entity_field: created
- plugin_id: date
- relationship: none
- group_type: group
- admin_label: ''
- exposed: false
- expose:
- label: ''
- granularity: second
- title: test_view_block_with_context
- header: { }
- footer: { }
- empty:
- area_text_custom:
- id: area_text_custom
- table: views
- field: area_text_custom
- relationship: none
- group_type: group
- admin_label: ''
- empty: true
- tokenize: false
- content: 'Test view: No results found.'
- plugin_id: text_custom
- relationships: { }
- arguments:
- 'null':
- id: 'null'
- table: views
- field: 'null'
- 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: fixed
- default_argument_options:
- argument: foo
- 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: { }
- must_not_be: false
- plugin_id: 'null'
- null_1:
- id: null_1
- table: views
- field: 'null'
- relationship: none
- group_type: group
- admin_label: ''
- default_action: ignore
- 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: { }
- must_not_be: false
- plugin_id: 'null'
- nid:
- id: nid
- table: node_field_data
- field: nid
- relationship: none
- group_type: group
- admin_label: ''
- default_action: empty
- 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: true
- validate:
- type: 'entity:node'
- fail: 'not found'
- validate_options:
- operation: view
- multiple: 0
- bundles: { }
- access: false
- break_phrase: false
- not: false
- entity_type: node
- entity_field: nid
- plugin_id: node_nid
- display_extenders: { }
- cache_metadata:
- contexts:
- - 'languages:language_content'
- - 'languages:language_interface'
- - url
- - 'user.node_grants:view'
- - user.permissions
- cacheable: false
- max-age: -1
- tags: { }
- block_1:
- display_plugin: block
- id: block_1
- display_title: Block
- position: 1
- display_options:
- display_extenders: { }
- cache_metadata:
- contexts:
- - 'languages:language_content'
- - 'languages:language_interface'
- - url
- - 'user.node_grants:view'
- - user.permissions
- cacheable: false
- max-age: -1
- tags: { }
- block_2:
- display_plugin: block
- id: block_2
- display_title: 'Block 2'
- position: 2
- display_options:
- display_extenders: { }
- arguments:
- created:
- id: created
- table: node_field_data
- field: created
- relationship: none
- group_type: group
- admin_label: ''
- default_action: ignore
- 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: true
- validate:
- type: numeric
- fail: 'not found'
- validate_options: { }
- entity_type: node
- entity_field: created
- plugin_id: date
- vid:
- id: vid
- table: node_field_data
- field: vid
- relationship: none
- group_type: group
- admin_label: ''
- default_action: ignore
- 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: node
- entity_field: vid
- plugin_id: numeric
- title:
- id: title
- table: node_field_data
- field: title
- relationship: none
- group_type: group
- admin_label: ''
- default_action: ignore
- 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: { }
- glossary: false
- limit: 0
- case: none
- path_case: none
- transform_dash: false
- break_phrase: false
- entity_type: node
- entity_field: title
- plugin_id: string
- defaults:
- arguments: false
- cache_metadata:
- max-age: -1
- contexts:
- - 'languages:language_content'
- - 'languages:language_interface'
- - url
- - 'user.node_grants:view'
- - user.permissions
- tags: { }