views.view.test_view_block_with_context.yml

Same filename in other branches
  1. 9 core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block_with_context.yml
  2. 10 core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block_with_context.yml
  3. 11.x core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block_with_context.yml
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.yml

View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. module:
  5. - node
  6. - user
  7. id: test_view_block_with_context
  8. label: test_view_block_with_context
  9. module: views
  10. description: ''
  11. tag: ''
  12. base_table: node_field_data
  13. base_field: nid
  14. display:
  15. default:
  16. display_plugin: default
  17. id: default
  18. display_title: Master
  19. position: 0
  20. display_options:
  21. access:
  22. type: perm
  23. options:
  24. perm: 'access content'
  25. cache:
  26. type: tag
  27. options: { }
  28. query:
  29. type: views_query
  30. options:
  31. disable_sql_rewrite: false
  32. distinct: false
  33. replica: false
  34. query_comment: ''
  35. query_tags: { }
  36. exposed_form:
  37. type: basic
  38. options:
  39. submit_button: Apply
  40. reset_button: false
  41. reset_button_label: Reset
  42. exposed_sorts_label: 'Sort by'
  43. expose_sort_order: true
  44. sort_asc_label: Asc
  45. sort_desc_label: Desc
  46. pager:
  47. type: some
  48. options:
  49. items_per_page: 5
  50. offset: 0
  51. style:
  52. type: default
  53. row:
  54. type: fields
  55. fields:
  56. title:
  57. id: title
  58. table: node_field_data
  59. field: title
  60. relationship: none
  61. group_type: group
  62. admin_label: ''
  63. label: ''
  64. exclude: false
  65. alter:
  66. alter_text: true
  67. text: 'Test view row: {{ title }}'
  68. make_link: false
  69. path: ''
  70. absolute: false
  71. external: false
  72. replace_spaces: false
  73. path_case: none
  74. trim_whitespace: false
  75. alt: ''
  76. rel: ''
  77. link_class: ''
  78. prefix: ''
  79. suffix: ''
  80. target: ''
  81. nl2br: false
  82. max_length: 0
  83. word_boundary: true
  84. ellipsis: true
  85. more_link: false
  86. more_link_text: ''
  87. more_link_path: ''
  88. strip_tags: false
  89. trim: false
  90. preserve_tags: ''
  91. html: false
  92. element_type: ''
  93. element_class: ''
  94. element_label_type: ''
  95. element_label_class: ''
  96. element_label_colon: false
  97. element_wrapper_type: ''
  98. element_wrapper_class: ''
  99. element_default_classes: true
  100. empty: ''
  101. hide_empty: false
  102. empty_zero: false
  103. hide_alter_empty: true
  104. click_sort_column: value
  105. type: string
  106. settings:
  107. link_to_entity: true
  108. group_column: value
  109. group_columns: { }
  110. group_rows: true
  111. delta_limit: 0
  112. delta_offset: 0
  113. delta_reversed: false
  114. delta_first_last: false
  115. multi_type: separator
  116. separator: ', '
  117. field_api_classes: false
  118. plugin_id: field
  119. filters:
  120. status:
  121. value: '1'
  122. table: node_field_data
  123. field: status
  124. plugin_id: boolean
  125. entity_type: node
  126. entity_field: status
  127. id: status
  128. expose:
  129. operator: ''
  130. group: 1
  131. sorts:
  132. created:
  133. id: created
  134. table: node_field_data
  135. field: created
  136. order: DESC
  137. entity_type: node
  138. entity_field: created
  139. plugin_id: date
  140. relationship: none
  141. group_type: group
  142. admin_label: ''
  143. exposed: false
  144. expose:
  145. label: ''
  146. granularity: second
  147. title: test_view_block_with_context
  148. header: { }
  149. footer: { }
  150. empty:
  151. area_text_custom:
  152. id: area_text_custom
  153. table: views
  154. field: area_text_custom
  155. relationship: none
  156. group_type: group
  157. admin_label: ''
  158. empty: true
  159. tokenize: false
  160. content: 'Test view: No results found.'
  161. plugin_id: text_custom
  162. relationships: { }
  163. arguments:
  164. 'null':
  165. id: 'null'
  166. table: views
  167. field: 'null'
  168. relationship: none
  169. group_type: group
  170. admin_label: ''
  171. default_action: default
  172. exception:
  173. value: all
  174. title_enable: false
  175. title: All
  176. title_enable: false
  177. title: ''
  178. default_argument_type: fixed
  179. default_argument_options:
  180. argument: foo
  181. default_argument_skip_url: false
  182. summary_options:
  183. base_path: ''
  184. count: true
  185. items_per_page: 25
  186. override: false
  187. summary:
  188. sort_order: asc
  189. number_of_records: 0
  190. format: default_summary
  191. specify_validation: false
  192. validate:
  193. type: none
  194. fail: 'not found'
  195. validate_options: { }
  196. must_not_be: false
  197. plugin_id: 'null'
  198. null_1:
  199. id: null_1
  200. table: views
  201. field: 'null'
  202. relationship: none
  203. group_type: group
  204. admin_label: ''
  205. default_action: ignore
  206. exception:
  207. value: all
  208. title_enable: false
  209. title: All
  210. title_enable: false
  211. title: ''
  212. default_argument_type: fixed
  213. default_argument_options:
  214. argument: ''
  215. default_argument_skip_url: false
  216. summary_options:
  217. base_path: ''
  218. count: true
  219. items_per_page: 25
  220. override: false
  221. summary:
  222. sort_order: asc
  223. number_of_records: 0
  224. format: default_summary
  225. specify_validation: false
  226. validate:
  227. type: none
  228. fail: 'not found'
  229. validate_options: { }
  230. must_not_be: false
  231. plugin_id: 'null'
  232. nid:
  233. id: nid
  234. table: node_field_data
  235. field: nid
  236. relationship: none
  237. group_type: group
  238. admin_label: ''
  239. default_action: empty
  240. exception:
  241. value: all
  242. title_enable: false
  243. title: All
  244. title_enable: false
  245. title: ''
  246. default_argument_type: fixed
  247. default_argument_options:
  248. argument: ''
  249. default_argument_skip_url: false
  250. summary_options:
  251. base_path: ''
  252. count: true
  253. items_per_page: 25
  254. override: false
  255. summary:
  256. sort_order: asc
  257. number_of_records: 0
  258. format: default_summary
  259. specify_validation: true
  260. validate:
  261. type: 'entity:node'
  262. fail: 'not found'
  263. validate_options:
  264. operation: view
  265. multiple: 0
  266. bundles: { }
  267. access: false
  268. break_phrase: false
  269. not: false
  270. entity_type: node
  271. entity_field: nid
  272. plugin_id: node_nid
  273. display_extenders: { }
  274. cache_metadata:
  275. contexts:
  276. - 'languages:language_content'
  277. - 'languages:language_interface'
  278. - url
  279. - 'user.node_grants:view'
  280. - user.permissions
  281. cacheable: false
  282. max-age: -1
  283. tags: { }
  284. block_1:
  285. display_plugin: block
  286. id: block_1
  287. display_title: Block
  288. position: 1
  289. display_options:
  290. display_extenders: { }
  291. cache_metadata:
  292. contexts:
  293. - 'languages:language_content'
  294. - 'languages:language_interface'
  295. - url
  296. - 'user.node_grants:view'
  297. - user.permissions
  298. cacheable: false
  299. max-age: -1
  300. tags: { }
  301. block_2:
  302. display_plugin: block
  303. id: block_2
  304. display_title: 'Block 2'
  305. position: 2
  306. display_options:
  307. display_extenders: { }
  308. arguments:
  309. created:
  310. id: created
  311. table: node_field_data
  312. field: created
  313. relationship: none
  314. group_type: group
  315. admin_label: ''
  316. default_action: ignore
  317. exception:
  318. value: all
  319. title_enable: false
  320. title: All
  321. title_enable: false
  322. title: ''
  323. default_argument_type: fixed
  324. default_argument_options:
  325. argument: ''
  326. default_argument_skip_url: false
  327. summary_options:
  328. base_path: ''
  329. count: true
  330. items_per_page: 25
  331. override: false
  332. summary:
  333. sort_order: asc
  334. number_of_records: 0
  335. format: default_summary
  336. specify_validation: true
  337. validate:
  338. type: numeric
  339. fail: 'not found'
  340. validate_options: { }
  341. entity_type: node
  342. entity_field: created
  343. plugin_id: date
  344. vid:
  345. id: vid
  346. table: node_field_data
  347. field: vid
  348. relationship: none
  349. group_type: group
  350. admin_label: ''
  351. default_action: ignore
  352. exception:
  353. value: all
  354. title_enable: false
  355. title: All
  356. title_enable: false
  357. title: ''
  358. default_argument_type: fixed
  359. default_argument_options:
  360. argument: ''
  361. default_argument_skip_url: false
  362. summary_options:
  363. base_path: ''
  364. count: true
  365. items_per_page: 25
  366. override: false
  367. summary:
  368. sort_order: asc
  369. number_of_records: 0
  370. format: default_summary
  371. specify_validation: false
  372. validate:
  373. type: none
  374. fail: 'not found'
  375. validate_options: { }
  376. break_phrase: false
  377. not: false
  378. entity_type: node
  379. entity_field: vid
  380. plugin_id: numeric
  381. title:
  382. id: title
  383. table: node_field_data
  384. field: title
  385. relationship: none
  386. group_type: group
  387. admin_label: ''
  388. default_action: ignore
  389. exception:
  390. value: all
  391. title_enable: false
  392. title: All
  393. title_enable: false
  394. title: ''
  395. default_argument_type: fixed
  396. default_argument_options:
  397. argument: ''
  398. default_argument_skip_url: false
  399. summary_options:
  400. base_path: ''
  401. count: true
  402. items_per_page: 25
  403. override: false
  404. summary:
  405. sort_order: asc
  406. number_of_records: 0
  407. format: default_summary
  408. specify_validation: false
  409. validate:
  410. type: none
  411. fail: 'not found'
  412. validate_options: { }
  413. glossary: false
  414. limit: 0
  415. case: none
  416. path_case: none
  417. transform_dash: false
  418. break_phrase: false
  419. entity_type: node
  420. entity_field: title
  421. plugin_id: string
  422. defaults:
  423. arguments: false
  424. cache_metadata:
  425. max-age: -1
  426. contexts:
  427. - 'languages:language_content'
  428. - 'languages:language_interface'
  429. - url
  430. - 'user.node_grants:view'
  431. - user.permissions
  432. tags: { }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.