views.view.promoted_items.yml

Same filename in other branches
  1. 9 core/profiles/demo_umami/config/install/views.view.promoted_items.yml
  2. 10 core/profiles/demo_umami/config/install/views.view.promoted_items.yml
  3. 11.x core/profiles/demo_umami/config/install/views.view.promoted_items.yml
core/profiles/demo_umami/config/install/views.view.promoted_items.yml

File

core/profiles/demo_umami/config/install/views.view.promoted_items.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.card_common_alt
  7. - node.type.article
  8. - node.type.recipe
  9. module:
  10. - node
  11. - user
  12. id: promoted_items
  13. label: 'Promoted Items'
  14. module: views
  15. description: 'A view to list the items promoted to the top of the homepage.'
  16. tag: ''
  17. base_table: node_field_data
  18. base_field: nid
  19. display:
  20. default:
  21. display_plugin: default
  22. id: default
  23. display_title: Master
  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: some
  53. options:
  54. items_per_page: 1
  55. offset: 0
  56. style:
  57. type: default
  58. row:
  59. type: 'entity:node'
  60. options:
  61. relationship: none
  62. view_mode: card_common
  63. fields:
  64. title:
  65. id: title
  66. table: node_field_data
  67. field: title
  68. entity_type: node
  69. entity_field: title
  70. label: ''
  71. alter:
  72. alter_text: false
  73. make_link: false
  74. absolute: false
  75. trim: false
  76. word_boundary: false
  77. ellipsis: false
  78. strip_tags: false
  79. html: false
  80. hide_empty: false
  81. empty_zero: false
  82. settings:
  83. link_to_entity: true
  84. plugin_id: field
  85. relationship: none
  86. group_type: group
  87. admin_label: ''
  88. exclude: false
  89. element_type: ''
  90. element_class: ''
  91. element_label_type: ''
  92. element_label_class: ''
  93. element_label_colon: true
  94. element_wrapper_type: ''
  95. element_wrapper_class: ''
  96. element_default_classes: true
  97. empty: ''
  98. hide_alter_empty: true
  99. click_sort_column: value
  100. type: string
  101. group_column: value
  102. group_columns: { }
  103. group_rows: true
  104. delta_limit: 0
  105. delta_offset: 0
  106. delta_reversed: false
  107. delta_first_last: false
  108. multi_type: separator
  109. separator: ', '
  110. field_api_classes: false
  111. filters:
  112. status:
  113. value: '1'
  114. table: node_field_data
  115. field: status
  116. plugin_id: boolean
  117. entity_type: node
  118. entity_field: status
  119. id: status
  120. expose:
  121. operator: ''
  122. operator_limit_selection: false
  123. operator_list: { }
  124. group: 1
  125. promote:
  126. id: promote
  127. table: node_field_data
  128. field: promote
  129. relationship: none
  130. group_type: group
  131. admin_label: ''
  132. operator: '='
  133. value: '1'
  134. group: 1
  135. exposed: false
  136. expose:
  137. operator_id: ''
  138. label: ''
  139. description: ''
  140. use_operator: false
  141. operator: ''
  142. identifier: ''
  143. required: false
  144. remember: false
  145. multiple: false
  146. remember_roles:
  147. authenticated: authenticated
  148. operator_limit_selection: false
  149. operator_list: { }
  150. is_grouped: false
  151. group_info:
  152. label: ''
  153. description: ''
  154. identifier: ''
  155. optional: true
  156. widget: select
  157. multiple: false
  158. remember: false
  159. default_group: All
  160. default_group_multiple: { }
  161. group_items: { }
  162. entity_type: node
  163. entity_field: promote
  164. plugin_id: boolean
  165. type:
  166. id: type
  167. table: node_field_data
  168. field: type
  169. relationship: none
  170. group_type: group
  171. admin_label: ''
  172. operator: in
  173. value:
  174. article: article
  175. recipe: recipe
  176. group: 1
  177. exposed: false
  178. expose:
  179. operator_id: ''
  180. label: ''
  181. description: ''
  182. use_operator: false
  183. operator: ''
  184. identifier: ''
  185. required: false
  186. remember: false
  187. multiple: false
  188. remember_roles:
  189. authenticated: authenticated
  190. reduce: false
  191. operator_limit_selection: false
  192. operator_list: { }
  193. is_grouped: false
  194. group_info:
  195. label: ''
  196. description: ''
  197. identifier: ''
  198. optional: true
  199. widget: select
  200. multiple: false
  201. remember: false
  202. default_group: All
  203. default_group_multiple: { }
  204. group_items: { }
  205. entity_type: node
  206. entity_field: type
  207. plugin_id: bundle
  208. sorts:
  209. created:
  210. id: created
  211. table: node_field_data
  212. field: created
  213. order: DESC
  214. entity_type: node
  215. entity_field: created
  216. plugin_id: date
  217. relationship: none
  218. group_type: group
  219. admin_label: ''
  220. exposed: false
  221. expose:
  222. label: ''
  223. granularity: second
  224. title: 'Promoted Items Double'
  225. header: { }
  226. footer: { }
  227. empty: { }
  228. relationships: { }
  229. arguments: { }
  230. display_extenders: { }
  231. cache_metadata:
  232. max-age: -1
  233. contexts:
  234. - 'languages:language_content'
  235. - 'languages:language_interface'
  236. - 'user.node_grants:view'
  237. - user.permissions
  238. tags: { }
  239. attachment_1:
  240. display_plugin: attachment
  241. id: attachment_1
  242. display_title: 'Attachment: Promoted Items Double'
  243. position: 3
  244. display_options:
  245. display_extenders: { }
  246. displays:
  247. block_1: block_1
  248. attachment_position: after
  249. style:
  250. type: default
  251. options: { }
  252. defaults:
  253. style: false
  254. row: false
  255. css_class: false
  256. filters: false
  257. filter_groups: false
  258. row:
  259. type: 'entity:node'
  260. options:
  261. relationship: none
  262. view_mode: card_common_alt
  263. pager:
  264. type: some
  265. options:
  266. items_per_page: 2
  267. offset: 0
  268. display_description: ''
  269. css_class: view-promoted-items--double
  270. filters:
  271. status:
  272. value: '1'
  273. table: node_field_data
  274. field: status
  275. plugin_id: boolean
  276. entity_type: node
  277. entity_field: status
  278. id: status
  279. expose:
  280. operator: ''
  281. operator_limit_selection: false
  282. operator_list: { }
  283. group: 1
  284. promote:
  285. id: promote
  286. table: node_field_data
  287. field: promote
  288. relationship: none
  289. group_type: group
  290. admin_label: ''
  291. operator: '='
  292. value: '1'
  293. group: 1
  294. exposed: false
  295. expose:
  296. operator_id: ''
  297. label: ''
  298. description: ''
  299. use_operator: false
  300. operator: ''
  301. identifier: ''
  302. required: false
  303. remember: false
  304. multiple: false
  305. remember_roles:
  306. authenticated: authenticated
  307. operator_limit_selection: false
  308. operator_list: { }
  309. is_grouped: false
  310. group_info:
  311. label: ''
  312. description: ''
  313. identifier: ''
  314. optional: true
  315. widget: select
  316. multiple: false
  317. remember: false
  318. default_group: All
  319. default_group_multiple: { }
  320. group_items: { }
  321. entity_type: node
  322. entity_field: promote
  323. plugin_id: boolean
  324. type:
  325. id: type
  326. table: node_field_data
  327. field: type
  328. relationship: none
  329. group_type: group
  330. admin_label: ''
  331. operator: in
  332. value:
  333. recipe: recipe
  334. group: 1
  335. exposed: false
  336. expose:
  337. operator_id: ''
  338. label: ''
  339. description: ''
  340. use_operator: false
  341. operator: ''
  342. identifier: ''
  343. required: false
  344. remember: false
  345. multiple: false
  346. remember_roles:
  347. authenticated: authenticated
  348. reduce: false
  349. operator_limit_selection: false
  350. operator_list: { }
  351. is_grouped: false
  352. group_info:
  353. label: ''
  354. description: ''
  355. identifier: ''
  356. optional: true
  357. widget: select
  358. multiple: false
  359. remember: false
  360. default_group: All
  361. default_group_multiple: { }
  362. group_items: { }
  363. entity_type: node
  364. entity_field: type
  365. plugin_id: bundle
  366. default_langcode:
  367. id: default_langcode
  368. table: node_field_data
  369. field: default_langcode
  370. relationship: none
  371. group_type: group
  372. admin_label: ''
  373. operator: '='
  374. value: '1'
  375. group: 1
  376. exposed: false
  377. expose:
  378. operator_id: ''
  379. label: ''
  380. description: ''
  381. use_operator: false
  382. operator: ''
  383. operator_limit_selection: false
  384. operator_list: { }
  385. identifier: ''
  386. required: false
  387. remember: false
  388. multiple: false
  389. remember_roles:
  390. authenticated: authenticated
  391. is_grouped: false
  392. group_info:
  393. label: ''
  394. description: ''
  395. identifier: ''
  396. optional: true
  397. widget: select
  398. multiple: false
  399. remember: false
  400. default_group: All
  401. default_group_multiple: { }
  402. group_items: { }
  403. entity_type: node
  404. entity_field: default_langcode
  405. plugin_id: boolean
  406. filter_groups:
  407. operator: AND
  408. groups:
  409. 1: AND
  410. rendering_language: '***LANGUAGE_language_interface***'
  411. cache_metadata:
  412. max-age: -1
  413. contexts:
  414. - 'languages:language_interface'
  415. - 'user.node_grants:view'
  416. - user.permissions
  417. tags: { }
  418. block_1:
  419. display_plugin: block
  420. id: block_1
  421. display_title: 'Block: Promoted Items - Single'
  422. position: 1
  423. display_options:
  424. display_extenders: { }
  425. display_description: ''
  426. css_class: 'container view-promoted-items--single'
  427. defaults:
  428. css_class: false
  429. filters: false
  430. filter_groups: false
  431. filters:
  432. status:
  433. value: '1'
  434. table: node_field_data
  435. field: status
  436. plugin_id: boolean
  437. entity_type: node
  438. entity_field: status
  439. id: status
  440. expose:
  441. operator: ''
  442. operator_limit_selection: false
  443. operator_list: { }
  444. group: 1
  445. promote:
  446. id: promote
  447. table: node_field_data
  448. field: promote
  449. relationship: none
  450. group_type: group
  451. admin_label: ''
  452. operator: '='
  453. value: '1'
  454. group: 1
  455. exposed: false
  456. expose:
  457. operator_id: ''
  458. label: ''
  459. description: ''
  460. use_operator: false
  461. operator: ''
  462. identifier: ''
  463. required: false
  464. remember: false
  465. multiple: false
  466. remember_roles:
  467. authenticated: authenticated
  468. operator_limit_selection: false
  469. operator_list: { }
  470. is_grouped: false
  471. group_info:
  472. label: ''
  473. description: ''
  474. identifier: ''
  475. optional: true
  476. widget: select
  477. multiple: false
  478. remember: false
  479. default_group: All
  480. default_group_multiple: { }
  481. group_items: { }
  482. entity_type: node
  483. entity_field: promote
  484. plugin_id: boolean
  485. type:
  486. id: type
  487. table: node_field_data
  488. field: type
  489. relationship: none
  490. group_type: group
  491. admin_label: ''
  492. operator: in
  493. value:
  494. article: article
  495. group: 1
  496. exposed: false
  497. expose:
  498. operator_id: ''
  499. label: ''
  500. description: ''
  501. use_operator: false
  502. operator: ''
  503. identifier: ''
  504. required: false
  505. remember: false
  506. multiple: false
  507. remember_roles:
  508. authenticated: authenticated
  509. reduce: false
  510. operator_limit_selection: false
  511. operator_list: { }
  512. is_grouped: false
  513. group_info:
  514. label: ''
  515. description: ''
  516. identifier: ''
  517. optional: true
  518. widget: select
  519. multiple: false
  520. remember: false
  521. default_group: All
  522. default_group_multiple: { }
  523. group_items: { }
  524. entity_type: node
  525. entity_field: type
  526. plugin_id: bundle
  527. default_langcode:
  528. id: default_langcode
  529. table: node_field_data
  530. field: default_langcode
  531. relationship: none
  532. group_type: group
  533. admin_label: ''
  534. operator: '='
  535. value: '1'
  536. group: 1
  537. exposed: false
  538. expose:
  539. operator_id: ''
  540. label: ''
  541. description: ''
  542. use_operator: false
  543. operator: ''
  544. operator_limit_selection: false
  545. operator_list: { }
  546. identifier: ''
  547. required: false
  548. remember: false
  549. multiple: false
  550. remember_roles:
  551. authenticated: authenticated
  552. is_grouped: false
  553. group_info:
  554. label: ''
  555. description: ''
  556. identifier: ''
  557. optional: true
  558. widget: select
  559. multiple: false
  560. remember: false
  561. default_group: All
  562. default_group_multiple: { }
  563. group_items: { }
  564. entity_type: node
  565. entity_field: default_langcode
  566. plugin_id: boolean
  567. filter_groups:
  568. operator: AND
  569. groups:
  570. 1: AND
  571. rendering_language: '***LANGUAGE_language_interface***'
  572. cache_metadata:
  573. max-age: -1
  574. contexts:
  575. - 'languages:language_interface'
  576. - 'user.node_grants:view'
  577. - user.permissions
  578. tags: { }

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