views.view.promoted_items.yml

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

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