views.view.test_node_access_join.yml

Same filename in other branches
  1. 10 core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_access_join.yml
core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_access_join.yml

File

core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_access_join.yml

View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - node.type.page
  6. module:
  7. - node
  8. - user
  9. id: test_node_access_join
  10. label: 'Test Node Access Join'
  11. module: views
  12. description: ''
  13. tag: ''
  14. base_table: node_field_data
  15. base_field: nid
  16. display:
  17. default:
  18. display_plugin: default
  19. id: default
  20. display_title: Master
  21. position: 0
  22. display_options:
  23. access:
  24. type: perm
  25. options:
  26. perm: 'access content'
  27. cache:
  28. type: tag
  29. options: { }
  30. query:
  31. type: views_query
  32. options:
  33. disable_sql_rewrite: false
  34. distinct: false
  35. replica: false
  36. query_comment: ''
  37. query_tags: { }
  38. exposed_form:
  39. type: basic
  40. options:
  41. submit_button: Apply
  42. reset_button: false
  43. reset_button_label: Reset
  44. exposed_sorts_label: 'Sort by'
  45. expose_sort_order: true
  46. sort_asc_label: Asc
  47. sort_desc_label: Desc
  48. pager:
  49. type: full
  50. options:
  51. items_per_page: 1000
  52. offset: 0
  53. id: 0
  54. total_pages: null
  55. expose:
  56. items_per_page: false
  57. items_per_page_label: 'Items per page'
  58. items_per_page_options: '5, 10, 25, 50'
  59. items_per_page_options_all: false
  60. items_per_page_options_all_label: '- All -'
  61. offset: false
  62. offset_label: Offset
  63. tags:
  64. previous: '‹ Previous'
  65. next: 'Next ›'
  66. first: '« First'
  67. last: 'Last »'
  68. quantity: 9
  69. style:
  70. type: table
  71. row:
  72. type: fields
  73. fields:
  74. title:
  75. id: title
  76. table: node_field_data
  77. field: title
  78. entity_type: node
  79. entity_field: title
  80. alter:
  81. alter_text: false
  82. make_link: false
  83. absolute: false
  84. trim: false
  85. word_boundary: false
  86. ellipsis: false
  87. strip_tags: false
  88. html: false
  89. hide_empty: false
  90. empty_zero: false
  91. settings:
  92. link_to_entity: true
  93. plugin_id: field
  94. relationship: none
  95. group_type: group
  96. admin_label: ''
  97. label: Title
  98. exclude: false
  99. element_type: ''
  100. element_class: ''
  101. element_label_type: ''
  102. element_label_class: ''
  103. element_label_colon: true
  104. element_wrapper_type: ''
  105. element_wrapper_class: ''
  106. element_default_classes: true
  107. empty: ''
  108. hide_alter_empty: true
  109. click_sort_column: value
  110. type: string
  111. group_column: value
  112. group_columns: { }
  113. group_rows: true
  114. delta_limit: 0
  115. delta_offset: 0
  116. delta_reversed: false
  117. delta_first_last: false
  118. multi_type: separator
  119. separator: ', '
  120. field_api_classes: false
  121. title_1:
  122. id: title_1
  123. table: node_field_data
  124. field: title
  125. relationship: related_article
  126. group_type: group
  127. admin_label: ''
  128. label: Article
  129. exclude: false
  130. alter:
  131. alter_text: false
  132. text: ''
  133. make_link: false
  134. path: ''
  135. absolute: false
  136. external: false
  137. replace_spaces: false
  138. path_case: none
  139. trim_whitespace: false
  140. alt: ''
  141. rel: ''
  142. link_class: ''
  143. prefix: ''
  144. suffix: ''
  145. target: ''
  146. nl2br: false
  147. max_length: 0
  148. word_boundary: true
  149. ellipsis: true
  150. more_link: false
  151. more_link_text: ''
  152. more_link_path: ''
  153. strip_tags: false
  154. trim: false
  155. preserve_tags: ''
  156. html: false
  157. element_type: ''
  158. element_class: ''
  159. element_label_type: ''
  160. element_label_class: ''
  161. element_label_colon: true
  162. element_wrapper_type: ''
  163. element_wrapper_class: ''
  164. element_default_classes: true
  165. empty: ''
  166. hide_empty: false
  167. empty_zero: false
  168. hide_alter_empty: true
  169. click_sort_column: value
  170. type: string
  171. settings:
  172. link_to_entity: true
  173. group_column: value
  174. group_columns: { }
  175. group_rows: true
  176. delta_limit: 0
  177. delta_offset: 0
  178. delta_reversed: false
  179. delta_first_last: false
  180. multi_type: separator
  181. separator: ', '
  182. field_api_classes: false
  183. entity_type: node
  184. entity_field: title
  185. plugin_id: field
  186. title_2:
  187. id: title_2
  188. table: node_field_data
  189. field: title
  190. relationship: related_article_2
  191. group_type: group
  192. admin_label: ''
  193. label: 'Article 2'
  194. exclude: false
  195. alter:
  196. alter_text: false
  197. text: ''
  198. make_link: false
  199. path: ''
  200. absolute: false
  201. external: false
  202. replace_spaces: false
  203. path_case: none
  204. trim_whitespace: false
  205. alt: ''
  206. rel: ''
  207. link_class: ''
  208. prefix: ''
  209. suffix: ''
  210. target: ''
  211. nl2br: false
  212. max_length: 0
  213. word_boundary: true
  214. ellipsis: true
  215. more_link: false
  216. more_link_text: ''
  217. more_link_path: ''
  218. strip_tags: false
  219. trim: false
  220. preserve_tags: ''
  221. html: false
  222. element_type: ''
  223. element_class: ''
  224. element_label_type: ''
  225. element_label_class: ''
  226. element_label_colon: true
  227. element_wrapper_type: ''
  228. element_wrapper_class: ''
  229. element_default_classes: true
  230. empty: ''
  231. hide_empty: false
  232. empty_zero: false
  233. hide_alter_empty: true
  234. click_sort_column: value
  235. type: string
  236. settings:
  237. link_to_entity: true
  238. group_column: value
  239. group_columns: { }
  240. group_rows: true
  241. delta_limit: 0
  242. delta_offset: 0
  243. delta_reversed: false
  244. delta_first_last: false
  245. multi_type: separator
  246. separator: ', '
  247. field_api_classes: false
  248. entity_type: node
  249. entity_field: title
  250. plugin_id: field
  251. filters:
  252. status:
  253. value: '1'
  254. table: node_field_data
  255. field: status
  256. plugin_id: boolean
  257. entity_type: node
  258. entity_field: status
  259. id: status
  260. expose:
  261. operator: ''
  262. group: 1
  263. type:
  264. id: type
  265. table: node_field_data
  266. field: type
  267. value:
  268. page: page
  269. entity_type: node
  270. entity_field: type
  271. plugin_id: bundle
  272. sorts:
  273. title:
  274. id: title
  275. table: node_field_data
  276. field: title
  277. relationship: none
  278. group_type: group
  279. admin_label: ''
  280. order: ASC
  281. exposed: false
  282. expose:
  283. label: ''
  284. entity_type: node
  285. entity_field: title
  286. plugin_id: standard
  287. title: 'Test Reference Access'
  288. header: { }
  289. footer: { }
  290. empty: { }
  291. relationships:
  292. related_article:
  293. id: related_article
  294. table: node__related_article
  295. field: related_article
  296. relationship: none
  297. group_type: group
  298. admin_label: 'Page related article'
  299. required: false
  300. plugin_id: standard
  301. related_article_2:
  302. id: related_article_2
  303. table: node__related_article
  304. field: related_article
  305. relationship: related_article
  306. group_type: group
  307. admin_label: 'Article related article'
  308. required: false
  309. plugin_id: standard
  310. arguments: { }
  311. display_extenders: { }
  312. cache_metadata:
  313. max-age: 0
  314. contexts:
  315. - 'languages:language_content'
  316. - 'languages:language_interface'
  317. - url.query_args
  318. - 'user.node_grants:view'
  319. - user.permissions
  320. tags: { }
  321. page_1:
  322. display_plugin: page
  323. id: page_1
  324. display_title: Page
  325. position: 1
  326. display_options:
  327. display_extenders: { }
  328. path: test-node-access-join
  329. cache_metadata:
  330. max-age: 0
  331. contexts:
  332. - 'languages:language_content'
  333. - 'languages:language_interface'
  334. - url.query_args
  335. - 'user.node_grants:view'
  336. - user.permissions
  337. tags: { }

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