You are here

views.view.test_comment_rest.yml in Drupal 9

core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_rest.yml

File

core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_rest.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - field.storage.comment.comment_body
  6. module:
  7. - comment
  8. - node
  9. - rest
  10. - text
  11. - user
  12. id: test_comment_rest
  13. label: 'Comments by node'
  14. module: views
  15. description: ''
  16. tag: ''
  17. base_table: comment_field_data
  18. base_field: cid
  19. display:
  20. default:
  21. display_plugin: default
  22. id: default
  23. display_title: Default
  24. position: 0
  25. display_options:
  26. access:
  27. type: perm
  28. options:
  29. perm: 'access content'
  30. cache:
  31. type: tag
  32. options: { }
  33. query:
  34. type: views_query
  35. options:
  36. disable_sql_rewrite: false
  37. distinct: false
  38. replica: false
  39. query_comment: ''
  40. query_tags: { }
  41. exposed_form:
  42. type: basic
  43. options:
  44. submit_button: Apply
  45. reset_button: false
  46. reset_button_label: Reset
  47. exposed_sorts_label: 'Sort by'
  48. expose_sort_order: true
  49. sort_asc_label: Asc
  50. sort_desc_label: Desc
  51. pager:
  52. type: full
  53. options:
  54. items_per_page: 10
  55. offset: 0
  56. id: 0
  57. total_pages: null
  58. expose:
  59. items_per_page: false
  60. items_per_page_label: 'Items per page'
  61. items_per_page_options: '5, 10, 25, 50'
  62. items_per_page_options_all: false
  63. items_per_page_options_all_label: '- All -'
  64. offset: false
  65. offset_label: Offset
  66. tags:
  67. previous: '‹ Previous'
  68. next: 'Next ›'
  69. first: '« First'
  70. last: 'Last »'
  71. quantity: 9
  72. style:
  73. type: serializer
  74. row:
  75. type: fields
  76. options:
  77. inline: { }
  78. separator: ''
  79. hide_empty: false
  80. default_field_elements: true
  81. relationships:
  82. node:
  83. id: node
  84. table: comment_field_data
  85. field: node
  86. required: true
  87. plugin_id: standard
  88. relationship: none
  89. group_type: group
  90. admin_label: Content
  91. fields:
  92. subject:
  93. id: subject
  94. table: comment_field_data
  95. field: subject
  96. relationship: none
  97. group_type: group
  98. entity_type: comment
  99. entity_field: subject
  100. admin_label: ''
  101. label: ''
  102. exclude: false
  103. alter:
  104. alter_text: false
  105. text: ''
  106. make_link: false
  107. path: ''
  108. absolute: false
  109. external: false
  110. replace_spaces: false
  111. path_case: none
  112. trim_whitespace: false
  113. alt: ''
  114. rel: ''
  115. link_class: ''
  116. prefix: ''
  117. suffix: ''
  118. target: ''
  119. nl2br: false
  120. max_length: 0
  121. word_boundary: true
  122. ellipsis: true
  123. more_link: false
  124. more_link_text: ''
  125. more_link_path: ''
  126. strip_tags: false
  127. trim: false
  128. preserve_tags: ''
  129. html: false
  130. element_type: ''
  131. element_class: ''
  132. element_label_type: ''
  133. element_label_class: ''
  134. element_label_colon: false
  135. element_wrapper_type: ''
  136. element_wrapper_class: ''
  137. element_default_classes: true
  138. empty: ''
  139. hide_empty: false
  140. empty_zero: false
  141. hide_alter_empty: true
  142. type: string
  143. settings:
  144. link_to_entity: false
  145. plugin_id: field
  146. name:
  147. id: name
  148. table: comment_field_data
  149. field: name
  150. entity_type: comment
  151. entity_field: name
  152. relationship: none
  153. group_type: group
  154. admin_label: ''
  155. label: ''
  156. exclude: false
  157. alter:
  158. alter_text: false
  159. text: ''
  160. make_link: false
  161. path: ''
  162. absolute: false
  163. external: false
  164. replace_spaces: false
  165. path_case: none
  166. trim_whitespace: false
  167. alt: ''
  168. rel: ''
  169. link_class: ''
  170. prefix: ''
  171. suffix: ''
  172. target: ''
  173. nl2br: false
  174. max_length: 0
  175. word_boundary: true
  176. ellipsis: true
  177. more_link: false
  178. more_link_text: ''
  179. more_link_path: ''
  180. strip_tags: false
  181. trim: false
  182. preserve_tags: ''
  183. html: false
  184. element_type: ''
  185. element_class: ''
  186. element_label_type: ''
  187. element_label_class: ''
  188. element_label_colon: false
  189. element_wrapper_type: ''
  190. element_wrapper_class: ''
  191. element_default_classes: true
  192. empty: ''
  193. hide_empty: false
  194. empty_zero: false
  195. hide_alter_empty: true
  196. plugin_id: field
  197. type: comment_username
  198. created:
  199. id: created
  200. table: comment_field_data
  201. field: created
  202. entity_type: comment
  203. entity_field: created
  204. relationship: none
  205. group_type: group
  206. admin_label: ''
  207. label: ''
  208. exclude: false
  209. alter:
  210. alter_text: false
  211. text: ''
  212. make_link: false
  213. path: ''
  214. absolute: false
  215. external: false
  216. replace_spaces: false
  217. path_case: none
  218. trim_whitespace: false
  219. alt: ''
  220. rel: ''
  221. link_class: ''
  222. prefix: ''
  223. suffix: ''
  224. target: ''
  225. nl2br: false
  226. max_length: 0
  227. word_boundary: true
  228. ellipsis: true
  229. more_link: false
  230. more_link_text: ''
  231. more_link_path: ''
  232. strip_tags: false
  233. trim: false
  234. preserve_tags: ''
  235. html: false
  236. element_type: ''
  237. element_class: ''
  238. element_label_type: ''
  239. element_label_class: ''
  240. element_label_colon: false
  241. element_wrapper_type: ''
  242. element_wrapper_class: ''
  243. element_default_classes: true
  244. empty: ''
  245. hide_empty: false
  246. empty_zero: false
  247. hide_alter_empty: true
  248. type: timestamp
  249. settings:
  250. date_format: long
  251. custom_date_format: ''
  252. timezone: ''
  253. plugin_id: field
  254. comment_body:
  255. id: comment_body
  256. table: comment__comment_body
  257. field: comment_body
  258. relationship: none
  259. entity_type: comment
  260. entity_field: comment_body
  261. group_type: group
  262. admin_label: ''
  263. label: ''
  264. exclude: false
  265. alter:
  266. alter_text: false
  267. text: ''
  268. make_link: false
  269. path: ''
  270. absolute: false
  271. external: false
  272. replace_spaces: false
  273. path_case: none
  274. trim_whitespace: false
  275. alt: ''
  276. rel: ''
  277. link_class: ''
  278. prefix: ''
  279. suffix: ''
  280. target: ''
  281. nl2br: false
  282. max_length: 0
  283. word_boundary: true
  284. ellipsis: true
  285. more_link: false
  286. more_link_text: ''
  287. more_link_path: ''
  288. strip_tags: false
  289. trim: false
  290. preserve_tags: ''
  291. html: false
  292. element_type: ''
  293. element_class: ''
  294. element_label_type: ''
  295. element_label_class: ''
  296. element_label_colon: false
  297. element_wrapper_type: ''
  298. element_wrapper_class: ''
  299. element_default_classes: true
  300. empty: ''
  301. hide_empty: false
  302. empty_zero: false
  303. hide_alter_empty: true
  304. click_sort_column: value
  305. type: text_default
  306. settings: { }
  307. group_column: value
  308. group_columns: { }
  309. group_rows: true
  310. delta_limit: 0
  311. delta_offset: 0
  312. delta_reversed: false
  313. delta_first_last: false
  314. multi_type: separator
  315. separator: ', '
  316. field_api_classes: false
  317. plugin_id: field
  318. filters: { }
  319. sorts:
  320. cid:
  321. id: cid
  322. table: comment_field_data
  323. field: cid
  324. relationship: none
  325. group_type: group
  326. admin_label: ''
  327. order: ASC
  328. exposed: false
  329. expose:
  330. label: ''
  331. entity_type: comment
  332. entity_field: cid
  333. plugin_id: standard
  334. header: { }
  335. footer: { }
  336. empty: { }
  337. arguments:
  338. nid:
  339. id: nid
  340. table: node_field_data
  341. field: nid
  342. relationship: node
  343. group_type: group
  344. admin_label: ''
  345. default_action: default
  346. exception:
  347. value: all
  348. title_enable: false
  349. title: All
  350. title_enable: false
  351. title: ''
  352. default_argument_type: node
  353. default_argument_skip_url: false
  354. summary_options:
  355. base_path: ''
  356. count: true
  357. items_per_page: 25
  358. override: false
  359. summary:
  360. sort_order: asc
  361. number_of_records: 0
  362. format: default_summary
  363. specify_validation: false
  364. validate:
  365. type: none
  366. fail: 'not found'
  367. validate_options: { }
  368. break_phrase: false
  369. not: false
  370. plugin_id: numeric
  371. display_extenders: { }
  372. rest_export_1:
  373. display_plugin: rest_export
  374. id: rest_export_1
  375. display_title: 'REST export'
  376. position: 1
  377. display_options:
  378. path: node/%node/comments
  379. pager:
  380. type: some
  381. options:
  382. items_per_page: 10
  383. offset: 0
  384. style:
  385. type: serializer
  386. options:
  387. uses_fields: false
  388. formats:
  389. json: json
  390. hal_json: hal_json
  391. row:
  392. type: data_field
  393. options:
  394. field_options:
  395. subject:
  396. alias: ''
  397. raw_output: true
  398. name:
  399. alias: ''
  400. raw_output: true
  401. display_extenders: { }