views.view.frontpage.yml

Same filename in this branch
  1. 8.9.x core/profiles/demo_umami/config/install/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/modules/node/config/optional/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/modules/node/config/optional/views.view.frontpage.yml

View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - core.entity_view_mode.node.rss
  6. - core.entity_view_mode.node.teaser
  7. module:
  8. - node
  9. - user
  10. id: frontpage
  11. label: Frontpage
  12. module: node
  13. description: 'All content promoted to the front page.'
  14. tag: default
  15. base_table: node_field_data
  16. base_field: nid
  17. display:
  18. default:
  19. display_options:
  20. access:
  21. type: perm
  22. options:
  23. perm: 'access content'
  24. cache:
  25. type: tag
  26. options: { }
  27. empty:
  28. area_text_custom:
  29. admin_label: ''
  30. content: 'No front page content has been created yet.<br/>Follow the <a target="_blank" href="https://www.drupal.org/docs/user_guide/en/index.html">User Guide</a> to start building your site.'
  31. empty: true
  32. field: area_text_custom
  33. group_type: group
  34. id: area_text_custom
  35. label: ''
  36. relationship: none
  37. table: views
  38. tokenize: false
  39. plugin_id: text_custom
  40. node_listing_empty:
  41. admin_label: ''
  42. empty: true
  43. field: node_listing_empty
  44. group_type: group
  45. id: node_listing_empty
  46. label: ''
  47. relationship: none
  48. table: node
  49. plugin_id: node_listing_empty
  50. entity_type: node
  51. title:
  52. id: title
  53. table: views
  54. field: title
  55. relationship: none
  56. group_type: group
  57. admin_label: ''
  58. label: ''
  59. empty: true
  60. title: 'Welcome to [site:name]'
  61. plugin_id: title
  62. exposed_form:
  63. type: basic
  64. options:
  65. submit_button: Apply
  66. reset_button: false
  67. reset_button_label: Reset
  68. exposed_sorts_label: 'Sort by'
  69. expose_sort_order: true
  70. sort_asc_label: Asc
  71. sort_desc_label: Desc
  72. filters:
  73. promote:
  74. admin_label: ''
  75. expose:
  76. description: ''
  77. identifier: ''
  78. label: ''
  79. multiple: false
  80. operator: ''
  81. operator_id: ''
  82. remember: false
  83. remember_roles:
  84. authenticated: authenticated
  85. required: false
  86. use_operator: false
  87. operator_limit_selection: false
  88. operator_list: { }
  89. exposed: false
  90. field: promote
  91. group: 1
  92. group_info:
  93. default_group: All
  94. default_group_multiple: { }
  95. description: ''
  96. group_items: { }
  97. identifier: ''
  98. label: ''
  99. multiple: false
  100. optional: true
  101. remember: false
  102. widget: select
  103. group_type: group
  104. id: promote
  105. is_grouped: false
  106. operator: '='
  107. relationship: none
  108. table: node_field_data
  109. value: '1'
  110. plugin_id: boolean
  111. entity_type: node
  112. entity_field: promote
  113. status:
  114. expose:
  115. operator: ''
  116. operator_limit_selection: false
  117. operator_list: { }
  118. field: status
  119. group: 1
  120. id: status
  121. table: node_field_data
  122. value: '1'
  123. plugin_id: boolean
  124. entity_type: node
  125. entity_field: status
  126. langcode:
  127. id: langcode
  128. table: node_field_data
  129. field: langcode
  130. relationship: none
  131. group_type: group
  132. admin_label: ''
  133. operator: in
  134. value:
  135. '***LANGUAGE_language_content***': '***LANGUAGE_language_content***'
  136. group: 1
  137. exposed: false
  138. expose:
  139. operator_id: ''
  140. label: ''
  141. description: ''
  142. use_operator: false
  143. operator: ''
  144. identifier: ''
  145. required: false
  146. remember: false
  147. multiple: false
  148. remember_roles:
  149. authenticated: authenticated
  150. reduce: false
  151. operator_limit_selection: false
  152. operator_list: { }
  153. is_grouped: false
  154. group_info:
  155. label: ''
  156. description: ''
  157. identifier: ''
  158. optional: true
  159. widget: select
  160. multiple: false
  161. remember: false
  162. default_group: All
  163. default_group_multiple: { }
  164. group_items: { }
  165. plugin_id: language
  166. entity_type: node
  167. entity_field: langcode
  168. pager:
  169. type: full
  170. options:
  171. items_per_page: 10
  172. offset: 0
  173. id: 0
  174. total_pages: 0
  175. expose:
  176. items_per_page: false
  177. items_per_page_label: 'Items per page'
  178. items_per_page_options: '5, 10, 25, 50'
  179. items_per_page_options_all: false
  180. items_per_page_options_all_label: '- All -'
  181. offset: false
  182. offset_label: Offset
  183. tags:
  184. previous: '‹ Previous'
  185. next: 'Next ›'
  186. first: '« First'
  187. last: 'Last »'
  188. quantity: 9
  189. query:
  190. type: views_query
  191. options:
  192. disable_sql_rewrite: false
  193. distinct: false
  194. replica: false
  195. query_comment: ''
  196. query_tags: { }
  197. row:
  198. type: 'entity:node'
  199. options:
  200. view_mode: teaser
  201. sorts:
  202. sticky:
  203. admin_label: ''
  204. expose:
  205. label: ''
  206. exposed: false
  207. field: sticky
  208. group_type: group
  209. id: sticky
  210. order: DESC
  211. relationship: none
  212. table: node_field_data
  213. plugin_id: boolean
  214. entity_type: node
  215. entity_field: sticky
  216. created:
  217. field: created
  218. id: created
  219. order: DESC
  220. table: node_field_data
  221. plugin_id: date
  222. relationship: none
  223. group_type: group
  224. admin_label: ''
  225. exposed: false
  226. expose:
  227. label: ''
  228. granularity: second
  229. entity_type: node
  230. entity_field: created
  231. style:
  232. type: default
  233. options:
  234. grouping: { }
  235. row_class: ''
  236. default_row_class: true
  237. uses_fields: false
  238. title: ''
  239. header: { }
  240. footer: { }
  241. relationships: { }
  242. fields: { }
  243. arguments: { }
  244. display_extenders: { }
  245. display_plugin: default
  246. display_title: Master
  247. id: default
  248. position: 0
  249. cache_metadata:
  250. contexts:
  251. - 'languages:language_interface'
  252. - url.query_args
  253. - 'user.node_grants:view'
  254. - user.permissions
  255. max-age: -1
  256. tags: { }
  257. feed_1:
  258. display_plugin: feed
  259. id: feed_1
  260. display_title: Feed
  261. position: 2
  262. display_options:
  263. sitename_title: true
  264. path: rss.xml
  265. displays:
  266. page_1: page_1
  267. default: ''
  268. pager:
  269. type: some
  270. options:
  271. items_per_page: 10
  272. offset: 0
  273. style:
  274. type: rss
  275. options:
  276. description: ''
  277. grouping: { }
  278. uses_fields: false
  279. row:
  280. type: node_rss
  281. options:
  282. relationship: none
  283. view_mode: rss
  284. display_extenders: { }
  285. cache_metadata:
  286. contexts:
  287. - 'languages:language_interface'
  288. - 'user.node_grants:view'
  289. - user.permissions
  290. max-age: -1
  291. tags: { }
  292. page_1:
  293. display_options:
  294. path: node
  295. display_extenders: { }
  296. display_plugin: page
  297. display_title: Page
  298. id: page_1
  299. position: 1
  300. cache_metadata:
  301. contexts:
  302. - 'languages:language_interface'
  303. - url.query_args
  304. - 'user.node_grants:view'
  305. - user.permissions
  306. max-age: -1
  307. tags: { }

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