views.view.frontpage.yml

Same filename in this branch
  1. 8.9.x core/modules/node/config/optional/views.view.frontpage.yml
Same filename in other branches
  1. 9 core/profiles/demo_umami/config/install/views.view.frontpage.yml
  2. 9 core/modules/node/config/optional/views.view.frontpage.yml
  3. 10 core/profiles/demo_umami/config/install/views.view.frontpage.yml
  4. 10 core/modules/node/config/optional/views.view.frontpage.yml
  5. 11.x core/profiles/demo_umami/config/install/views.view.frontpage.yml
  6. 11.x core/modules/node/config/optional/views.view.frontpage.yml
  7. 11.x core/tests/fixtures/config_install/multilingual/language/es/views.view.frontpage.yml
  8. 11.x core/tests/fixtures/config_install/multilingual/views.view.frontpage.yml
core/profiles/demo_umami/config/install/views.view.frontpage.yml
1 string reference to 'views.view.frontpage'
NodeLanguageTest::testLanguages in core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php
Tests translation language filter, field, and sort.

File

core/profiles/demo_umami/config/install/views.view.frontpage.yml

View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - core.entity_view_mode.node.card_common
  6. - core.entity_view_mode.node.rss
  7. - node.type.recipe
  8. module:
  9. - node
  10. - user
  11. id: frontpage
  12. label: Frontpage
  13. module: node
  14. description: 'All content promoted to the front page.'
  15. tag: default
  16. base_table: node_field_data
  17. base_field: nid
  18. display:
  19. default:
  20. display_options:
  21. access:
  22. type: perm
  23. options:
  24. perm: 'access content'
  25. cache:
  26. type: tag
  27. options: { }
  28. empty:
  29. area_text_custom:
  30. admin_label: ''
  31. content: 'No front page content has been created yet.'
  32. empty: true
  33. field: area_text_custom
  34. group_type: group
  35. id: area_text_custom
  36. label: ''
  37. relationship: none
  38. table: views
  39. tokenize: false
  40. plugin_id: text_custom
  41. node_listing_empty:
  42. admin_label: ''
  43. empty: true
  44. field: node_listing_empty
  45. group_type: group
  46. id: node_listing_empty
  47. label: ''
  48. relationship: none
  49. table: node
  50. plugin_id: node_listing_empty
  51. entity_type: node
  52. title:
  53. id: title
  54. table: views
  55. field: title
  56. relationship: none
  57. group_type: group
  58. admin_label: ''
  59. label: ''
  60. empty: true
  61. title: 'Welcome to [site:name]'
  62. plugin_id: title
  63. exposed_form:
  64. type: basic
  65. options:
  66. submit_button: Apply
  67. reset_button: false
  68. reset_button_label: Reset
  69. exposed_sorts_label: 'Sort by'
  70. expose_sort_order: true
  71. sort_asc_label: Asc
  72. sort_desc_label: Desc
  73. filters:
  74. promote:
  75. admin_label: ''
  76. expose:
  77. description: ''
  78. identifier: ''
  79. label: ''
  80. multiple: false
  81. operator: ''
  82. operator_id: ''
  83. remember: false
  84. remember_roles:
  85. authenticated: authenticated
  86. required: false
  87. use_operator: false
  88. operator_limit_selection: false
  89. operator_list: { }
  90. exposed: false
  91. field: promote
  92. group: 1
  93. group_info:
  94. default_group: All
  95. default_group_multiple: { }
  96. description: ''
  97. group_items: { }
  98. identifier: ''
  99. label: ''
  100. multiple: false
  101. optional: true
  102. remember: false
  103. widget: select
  104. group_type: group
  105. id: promote
  106. is_grouped: false
  107. operator: '='
  108. relationship: none
  109. table: node_field_data
  110. value: '1'
  111. plugin_id: boolean
  112. entity_type: node
  113. entity_field: promote
  114. status:
  115. expose:
  116. operator: ''
  117. operator_limit_selection: false
  118. operator_list: { }
  119. field: status
  120. group: 1
  121. id: status
  122. table: node_field_data
  123. value: '1'
  124. plugin_id: boolean
  125. entity_type: node
  126. entity_field: status
  127. type:
  128. id: type
  129. table: node_field_data
  130. field: type
  131. relationship: none
  132. group_type: group
  133. admin_label: ''
  134. operator: in
  135. value:
  136. recipe: recipe
  137. group: 1
  138. exposed: false
  139. expose:
  140. operator_id: ''
  141. label: ''
  142. description: ''
  143. use_operator: false
  144. operator: ''
  145. identifier: ''
  146. required: false
  147. remember: false
  148. multiple: false
  149. remember_roles:
  150. authenticated: authenticated
  151. reduce: false
  152. operator_limit_selection: false
  153. operator_list: { }
  154. is_grouped: false
  155. group_info:
  156. label: ''
  157. description: ''
  158. identifier: ''
  159. optional: true
  160. widget: select
  161. multiple: false
  162. remember: false
  163. default_group: All
  164. default_group_multiple: { }
  165. group_items: { }
  166. entity_type: node
  167. entity_field: type
  168. plugin_id: bundle
  169. default_langcode:
  170. id: default_langcode
  171. table: node_field_data
  172. field: default_langcode
  173. relationship: none
  174. group_type: group
  175. admin_label: ''
  176. operator: '='
  177. value: '1'
  178. group: 1
  179. exposed: false
  180. expose:
  181. operator_id: ''
  182. label: ''
  183. description: ''
  184. use_operator: false
  185. operator: ''
  186. operator_limit_selection: false
  187. operator_list: { }
  188. identifier: ''
  189. required: false
  190. remember: false
  191. multiple: false
  192. remember_roles:
  193. authenticated: authenticated
  194. is_grouped: false
  195. group_info:
  196. label: ''
  197. description: ''
  198. identifier: ''
  199. optional: true
  200. widget: select
  201. multiple: false
  202. remember: false
  203. default_group: All
  204. default_group_multiple: { }
  205. group_items: { }
  206. entity_type: node
  207. entity_field: default_langcode
  208. plugin_id: boolean
  209. pager:
  210. type: some
  211. options:
  212. items_per_page: 4
  213. offset: 0
  214. query:
  215. type: views_query
  216. options:
  217. disable_sql_rewrite: false
  218. distinct: false
  219. replica: false
  220. query_comment: ''
  221. query_tags: { }
  222. row:
  223. type: 'entity:node'
  224. options:
  225. relationship: none
  226. view_mode: card_common
  227. sorts:
  228. sticky:
  229. admin_label: ''
  230. expose:
  231. label: ''
  232. exposed: false
  233. field: sticky
  234. group_type: group
  235. id: sticky
  236. order: DESC
  237. relationship: none
  238. table: node_field_data
  239. plugin_id: boolean
  240. entity_type: node
  241. entity_field: sticky
  242. created:
  243. field: created
  244. id: created
  245. order: DESC
  246. table: node_field_data
  247. plugin_id: date
  248. relationship: none
  249. group_type: group
  250. admin_label: ''
  251. exposed: false
  252. expose:
  253. label: ''
  254. granularity: second
  255. entity_type: node
  256. entity_field: created
  257. nid:
  258. id: nid
  259. table: node_field_data
  260. field: nid
  261. relationship: none
  262. group_type: group
  263. admin_label: ''
  264. order: ASC
  265. exposed: false
  266. expose:
  267. label: ''
  268. entity_type: node
  269. entity_field: nid
  270. plugin_id: standard
  271. style:
  272. type: default
  273. options:
  274. grouping: { }
  275. row_class: ''
  276. default_row_class: true
  277. uses_fields: false
  278. title: Home
  279. header:
  280. area:
  281. id: area
  282. table: views
  283. field: area
  284. relationship: none
  285. group_type: group
  286. admin_label: ''
  287. empty: false
  288. tokenize: false
  289. content:
  290. value: '<p class="text-align-center">Explore recipes across every type of occasion, ingredient, and skill level.</p>'
  291. format: full_html
  292. plugin_id: text
  293. footer: { }
  294. relationships: { }
  295. fields: { }
  296. arguments: { }
  297. display_extenders: { }
  298. filter_groups:
  299. operator: AND
  300. groups:
  301. 1: AND
  302. display_plugin: default
  303. display_title: Master
  304. id: default
  305. position: 0
  306. cache_metadata:
  307. contexts:
  308. - 'languages:language_interface'
  309. - 'user.node_grants:view'
  310. - user.permissions
  311. max-age: -1
  312. tags: { }
  313. feed_1:
  314. display_plugin: feed
  315. id: feed_1
  316. display_title: Feed
  317. position: 2
  318. display_options:
  319. sitename_title: true
  320. path: rss.xml
  321. displays:
  322. page_1: page_1
  323. default: ''
  324. pager:
  325. type: some
  326. options:
  327. items_per_page: 10
  328. offset: 0
  329. style:
  330. type: rss
  331. options:
  332. description: ''
  333. grouping: { }
  334. uses_fields: false
  335. row:
  336. type: node_rss
  337. options:
  338. relationship: none
  339. view_mode: rss
  340. display_extenders: { }
  341. enabled: false
  342. rendering_language: '***LANGUAGE_language_interface***'
  343. cache_metadata:
  344. contexts:
  345. - 'languages:language_interface'
  346. - 'user.node_grants:view'
  347. - user.permissions
  348. max-age: -1
  349. tags: { }
  350. page_1:
  351. display_options:
  352. path: node
  353. display_extenders: { }
  354. css_class: grid--2
  355. defaults:
  356. css_class: false
  357. header: false
  358. header:
  359. area:
  360. id: area
  361. table: views
  362. field: area
  363. relationship: none
  364. group_type: group
  365. admin_label: ''
  366. empty: false
  367. tokenize: false
  368. content:
  369. value: '<p class="text-align-center">Explore recipes across every type of occasion, ingredient, and skill level</p>'
  370. format: full_html
  371. plugin_id: text
  372. rendering_language: '***LANGUAGE_language_interface***'
  373. display_plugin: page
  374. display_title: Page
  375. id: page_1
  376. position: 1
  377. cache_metadata:
  378. contexts:
  379. - 'languages:language_interface'
  380. - 'user.node_grants:view'
  381. - user.permissions
  382. max-age: -1
  383. tags: { }

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