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. 8.9.x core/modules/block/tests/modules/block_test_views/test_views/views.view.test_view_block_with_context.yml
  3. 10 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: Default
  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. summary_options:
  182. base_path: ''
  183. count: true
  184. items_per_page: 25
  185. override: false
  186. summary:
  187. sort_order: asc
  188. number_of_records: 0
  189. format: default_summary
  190. specify_validation: false
  191. validate:
  192. type: none
  193. fail: 'not found'
  194. validate_options: { }
  195. must_not_be: false
  196. plugin_id: 'null'
  197. null_1:
  198. id: null_1
  199. table: views
  200. field: 'null'
  201. relationship: none
  202. group_type: group
  203. admin_label: ''
  204. default_action: ignore
  205. exception:
  206. value: all
  207. title_enable: false
  208. title: All
  209. title_enable: false
  210. title: ''
  211. default_argument_type: fixed
  212. default_argument_options:
  213. argument: ''
  214. summary_options:
  215. base_path: ''
  216. count: true
  217. items_per_page: 25
  218. override: false
  219. summary:
  220. sort_order: asc
  221. number_of_records: 0
  222. format: default_summary
  223. specify_validation: false
  224. validate:
  225. type: none
  226. fail: 'not found'
  227. validate_options: { }
  228. must_not_be: false
  229. plugin_id: 'null'
  230. nid:
  231. id: nid
  232. table: node_field_data
  233. field: nid
  234. relationship: none
  235. group_type: group
  236. admin_label: ''
  237. default_action: empty
  238. exception:
  239. value: all
  240. title_enable: false
  241. title: All
  242. title_enable: false
  243. title: ''
  244. default_argument_type: fixed
  245. default_argument_options:
  246. argument: ''
  247. summary_options:
  248. base_path: ''
  249. count: true
  250. items_per_page: 25
  251. override: false
  252. summary:
  253. sort_order: asc
  254. number_of_records: 0
  255. format: default_summary
  256. specify_validation: true
  257. validate:
  258. type: 'entity:node'
  259. fail: 'not found'
  260. validate_options:
  261. operation: view
  262. multiple: 0
  263. bundles: { }
  264. access: false
  265. break_phrase: false
  266. not: false
  267. entity_type: node
  268. entity_field: nid
  269. plugin_id: node_nid
  270. display_extenders: { }
  271. cache_metadata:
  272. contexts:
  273. - 'languages:language_content'
  274. - 'languages:language_interface'
  275. - url
  276. - 'user.node_grants:view'
  277. - user.permissions
  278. cacheable: false
  279. max-age: -1
  280. tags: { }
  281. block_1:
  282. display_plugin: block
  283. id: block_1
  284. display_title: Block
  285. position: 1
  286. display_options:
  287. display_extenders: { }
  288. cache_metadata:
  289. contexts:
  290. - 'languages:language_content'
  291. - 'languages:language_interface'
  292. - url
  293. - 'user.node_grants:view'
  294. - user.permissions
  295. cacheable: false
  296. max-age: -1
  297. tags: { }
  298. block_2:
  299. display_plugin: block
  300. id: block_2
  301. display_title: 'Block 2'
  302. position: 2
  303. display_options:
  304. display_extenders: { }
  305. arguments:
  306. created:
  307. id: created
  308. table: node_field_data
  309. field: created
  310. relationship: none
  311. group_type: group
  312. admin_label: ''
  313. default_action: ignore
  314. exception:
  315. value: all
  316. title_enable: false
  317. title: All
  318. title_enable: false
  319. title: ''
  320. default_argument_type: fixed
  321. default_argument_options:
  322. argument: ''
  323. summary_options:
  324. base_path: ''
  325. count: true
  326. items_per_page: 25
  327. override: false
  328. summary:
  329. sort_order: asc
  330. number_of_records: 0
  331. format: default_summary
  332. specify_validation: true
  333. validate:
  334. type: numeric
  335. fail: 'not found'
  336. validate_options: { }
  337. entity_type: node
  338. entity_field: created
  339. plugin_id: date
  340. vid:
  341. id: vid
  342. table: node_field_data
  343. field: vid
  344. relationship: none
  345. group_type: group
  346. admin_label: ''
  347. default_action: ignore
  348. exception:
  349. value: all
  350. title_enable: false
  351. title: All
  352. title_enable: false
  353. title: ''
  354. default_argument_type: fixed
  355. default_argument_options:
  356. argument: ''
  357. summary_options:
  358. base_path: ''
  359. count: true
  360. items_per_page: 25
  361. override: false
  362. summary:
  363. sort_order: asc
  364. number_of_records: 0
  365. format: default_summary
  366. specify_validation: false
  367. validate:
  368. type: none
  369. fail: 'not found'
  370. validate_options: { }
  371. break_phrase: false
  372. not: false
  373. entity_type: node
  374. entity_field: vid
  375. plugin_id: numeric
  376. title:
  377. id: title
  378. table: node_field_data
  379. field: title
  380. relationship: none
  381. group_type: group
  382. admin_label: ''
  383. default_action: ignore
  384. exception:
  385. value: all
  386. title_enable: false
  387. title: All
  388. title_enable: false
  389. title: ''
  390. default_argument_type: fixed
  391. default_argument_options:
  392. argument: ''
  393. summary_options:
  394. base_path: ''
  395. count: true
  396. items_per_page: 25
  397. override: false
  398. summary:
  399. sort_order: asc
  400. number_of_records: 0
  401. format: default_summary
  402. specify_validation: false
  403. validate:
  404. type: none
  405. fail: 'not found'
  406. validate_options: { }
  407. glossary: false
  408. limit: 0
  409. case: none
  410. path_case: none
  411. transform_dash: false
  412. break_phrase: false
  413. entity_type: node
  414. entity_field: title
  415. plugin_id: string
  416. defaults:
  417. arguments: false
  418. cache_metadata:
  419. max-age: -1
  420. contexts:
  421. - 'languages:language_content'
  422. - 'languages:language_interface'
  423. - url
  424. - 'user.node_grants:view'
  425. - user.permissions
  426. tags: { }

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