You are here

views.view.latest_topics.yml in Open Social 10.3.x

modules/social_features/social_topic/config/install/views.view.latest_topics.yml

File

modules/social_features/social_topic/config/install/views.view.latest_topics.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - core.entity_view_mode.node.small_teaser
  6. - core.entity_view_mode.node.teaser
  7. - node.type.topic
  8. - taxonomy.vocabulary.topic_types
  9. module:
  10. - group
  11. - node
  12. - taxonomy
  13. - user
  14. id: latest_topics
  15. label: 'Latest topics'
  16. module: views
  17. description: 'Displays the newest topics in the community'
  18. tag: ''
  19. base_table: node_field_data
  20. base_field: nid
  21. display:
  22. default:
  23. display_plugin: default
  24. id: default
  25. display_title: Master
  26. position: 0
  27. display_options:
  28. access:
  29. type: perm
  30. options:
  31. perm: 'access content'
  32. cache:
  33. type: tag
  34. options: { }
  35. query:
  36. type: views_query
  37. options:
  38. disable_sql_rewrite: false
  39. distinct: true
  40. replica: false
  41. query_comment: ''
  42. query_tags: { }
  43. exposed_form:
  44. type: basic
  45. options:
  46. submit_button: Apply
  47. reset_button: true
  48. reset_button_label: Reset
  49. exposed_sorts_label: 'Sort by'
  50. expose_sort_order: true
  51. sort_asc_label: ascending
  52. sort_desc_label: descending
  53. pager:
  54. type: some
  55. options:
  56. items_per_page: 2
  57. offset: 0
  58. style:
  59. type: default
  60. row:
  61. type: 'entity:node'
  62. options:
  63. relationship: none
  64. view_mode: small_teaser
  65. fields:
  66. title:
  67. id: title
  68. table: node_field_data
  69. field: title
  70. entity_type: node
  71. entity_field: title
  72. label: ''
  73. alter:
  74. alter_text: false
  75. make_link: false
  76. absolute: false
  77. trim: false
  78. word_boundary: false
  79. ellipsis: false
  80. strip_tags: false
  81. html: false
  82. hide_empty: false
  83. empty_zero: false
  84. settings:
  85. link_to_entity: true
  86. plugin_id: field
  87. relationship: none
  88. group_type: group
  89. admin_label: ''
  90. exclude: false
  91. element_type: ''
  92. element_class: ''
  93. element_label_type: ''
  94. element_label_class: ''
  95. element_label_colon: true
  96. element_wrapper_type: ''
  97. element_wrapper_class: ''
  98. element_default_classes: true
  99. empty: ''
  100. hide_alter_empty: true
  101. click_sort_column: value
  102. type: string
  103. group_column: value
  104. group_columns: { }
  105. group_rows: true
  106. delta_limit: 0
  107. delta_offset: 0
  108. delta_reversed: false
  109. delta_first_last: false
  110. multi_type: separator
  111. separator: ', '
  112. field_api_classes: false
  113. filters:
  114. status:
  115. value: '1'
  116. table: node_field_data
  117. field: status
  118. plugin_id: boolean
  119. entity_type: node
  120. entity_field: status
  121. id: status
  122. expose:
  123. operator: ''
  124. operator_limit_selection: false
  125. operator_list: { }
  126. group: 1
  127. type:
  128. id: type
  129. table: node_field_data
  130. field: type
  131. value:
  132. topic: topic
  133. entity_type: node
  134. entity_field: type
  135. plugin_id: bundle
  136. expose:
  137. operator_limit_selection: false
  138. operator_list: { }
  139. nid:
  140. id: nid
  141. table: node_access
  142. field: nid
  143. relationship: none
  144. group_type: group
  145. admin_label: ''
  146. operator: '='
  147. value: ''
  148. group: 1
  149. exposed: false
  150. expose:
  151. operator_id: ''
  152. label: ''
  153. description: ''
  154. use_operator: false
  155. operator: ''
  156. identifier: ''
  157. required: false
  158. remember: false
  159. multiple: false
  160. remember_roles:
  161. authenticated: authenticated
  162. operator_limit_selection: false
  163. operator_list: { }
  164. is_grouped: false
  165. group_info:
  166. label: ''
  167. description: ''
  168. identifier: ''
  169. optional: true
  170. widget: select
  171. multiple: false
  172. remember: false
  173. default_group: All
  174. default_group_multiple: { }
  175. group_items: { }
  176. plugin_id: node_access
  177. default_langcode:
  178. admin_label: ''
  179. entity_field: default_langcode
  180. entity_type: node
  181. expose:
  182. description: ''
  183. identifier: ''
  184. label: ''
  185. multiple: false
  186. operator: ''
  187. operator_id: ''
  188. operator_limit_selection: false
  189. operator_list: { }
  190. remember: false
  191. remember_roles:
  192. authenticated: authenticated
  193. required: false
  194. use_operator: false
  195. exposed: false
  196. field: default_langcode
  197. group: 1
  198. group_info:
  199. default_group: All
  200. default_group_multiple: { }
  201. description: ''
  202. group_items: { }
  203. identifier: ''
  204. label: ''
  205. multiple: false
  206. optional: true
  207. remember: false
  208. widget: select
  209. group_type: group
  210. id: default_langcode
  211. is_grouped: false
  212. operator: '='
  213. plugin_id: boolean
  214. relationship: none
  215. table: node_field_data
  216. value: '1'
  217. sorts:
  218. created:
  219. id: created
  220. table: node_field_data
  221. field: created
  222. order: DESC
  223. entity_type: node
  224. entity_field: created
  225. plugin_id: date
  226. relationship: none
  227. group_type: group
  228. admin_label: ''
  229. exposed: false
  230. expose:
  231. label: ''
  232. granularity: second
  233. title: 'All topics'
  234. header: { }
  235. footer: { }
  236. empty:
  237. area_text_custom:
  238. id: area_text_custom
  239. table: views
  240. field: area_text_custom
  241. relationship: none
  242. group_type: group
  243. admin_label: ''
  244. empty: true
  245. tokenize: false
  246. content: 'No topics found'
  247. plugin_id: text_custom
  248. relationships: { }
  249. arguments: { }
  250. display_extenders: { }
  251. cache_metadata:
  252. max-age: -1
  253. contexts:
  254. - 'languages:language_content'
  255. - 'languages:language_interface'
  256. - 'user.node_grants:view'
  257. - user.permissions
  258. tags: { }
  259. block_latest_topics:
  260. display_plugin: block
  261. id: block_latest_topics
  262. display_title: 'Latest topics block'
  263. position: 1
  264. display_options:
  265. display_extenders: { }
  266. display_description: ''
  267. block_description: 'Latest topic block'
  268. title: 'Newest topics'
  269. defaults:
  270. title: false
  271. use_more: false
  272. use_more_always: false
  273. use_more_text: false
  274. use_more: true
  275. use_more_always: true
  276. use_more_text: 'All topics'
  277. rendering_language: '***LANGUAGE_language_interface***'
  278. cache_metadata:
  279. max-age: -1
  280. contexts:
  281. - 'languages:language_content'
  282. - 'languages:language_interface'
  283. - 'user.node_grants:view'
  284. - user.permissions
  285. tags: { }
  286. group_topics_block:
  287. display_plugin: block
  288. id: group_topics_block
  289. display_title: 'Latest topics group'
  290. position: 3
  291. display_options:
  292. display_extenders: { }
  293. display_description: ''
  294. block_description: 'Latest group topics'
  295. empty:
  296. area_text_custom:
  297. id: area_text_custom
  298. table: views
  299. field: area_text_custom
  300. relationship: none
  301. group_type: group
  302. admin_label: ''
  303. empty: true
  304. tokenize: false
  305. content: 'No topics in this group'
  306. plugin_id: text_custom
  307. defaults:
  308. empty: false
  309. relationships: false
  310. arguments: false
  311. access: false
  312. title: false
  313. use_more: false
  314. use_more_always: false
  315. use_more_text: false
  316. relationships:
  317. group_content:
  318. id: group_content
  319. table: node_field_data
  320. field: group_content
  321. relationship: none
  322. group_type: group
  323. admin_label: 'Content group content'
  324. required: true
  325. group_content_plugins:
  326. 'group_node:topic': 'group_node:topic'
  327. 'group_node:event': '0'
  328. entity_type: node
  329. plugin_id: group_content_to_entity_reverse
  330. arguments:
  331. gid:
  332. id: gid
  333. table: group_content_field_data
  334. field: gid
  335. relationship: group_content
  336. group_type: group
  337. admin_label: ''
  338. default_action: default
  339. exception:
  340. value: all
  341. title_enable: false
  342. title: All
  343. title_enable: false
  344. title: ''
  345. default_argument_type: group_id_from_url
  346. default_argument_options: { }
  347. default_argument_skip_url: false
  348. summary_options:
  349. base_path: ''
  350. count: true
  351. items_per_page: 25
  352. override: false
  353. summary:
  354. sort_order: asc
  355. number_of_records: 0
  356. format: default_summary
  357. specify_validation: false
  358. validate:
  359. type: none
  360. fail: 'not found'
  361. validate_options: { }
  362. break_phrase: false
  363. not: false
  364. entity_type: group_content
  365. entity_field: gid
  366. plugin_id: numeric
  367. access:
  368. type: perm
  369. options:
  370. perm: 'access content'
  371. title: 'Newest topics'
  372. use_more: true
  373. use_more_always: true
  374. use_more_text: 'All topics'
  375. rendering_language: '***LANGUAGE_language_interface***'
  376. cache_metadata:
  377. max-age: -1
  378. contexts:
  379. - 'languages:language_content'
  380. - 'languages:language_interface'
  381. - route
  382. - url
  383. - 'user.node_grants:view'
  384. - user.permissions
  385. tags: { }
  386. page_latest_topics:
  387. display_plugin: page
  388. id: page_latest_topics
  389. display_title: 'Latest topics page'
  390. position: 2
  391. display_options:
  392. display_extenders: { }
  393. display_description: ''
  394. style:
  395. type: default
  396. options: { }
  397. defaults:
  398. style: false
  399. row: false
  400. pager: false
  401. filters: false
  402. filter_groups: false
  403. sorts: false
  404. row:
  405. type: 'entity:node'
  406. options:
  407. relationship: none
  408. view_mode: teaser
  409. pager:
  410. type: full
  411. options:
  412. items_per_page: 10
  413. offset: 0
  414. id: 0
  415. total_pages: null
  416. tags:
  417. previous: '‹ Previous'
  418. next: 'Next ›'
  419. first: '« First'
  420. last: 'Last »'
  421. expose:
  422. items_per_page: false
  423. items_per_page_label: 'Items per page'
  424. items_per_page_options: '5, 10, 25, 50'
  425. items_per_page_options_all: false
  426. items_per_page_options_all_label: '- All -'
  427. offset: false
  428. offset_label: Offset
  429. quantity: 9
  430. path: all-topics
  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. type:
  446. id: type
  447. table: node_field_data
  448. field: type
  449. value:
  450. topic: topic
  451. entity_type: node
  452. entity_field: type
  453. plugin_id: bundle
  454. expose:
  455. operator_limit_selection: false
  456. operator_list: { }
  457. field_topic_type_target_id:
  458. id: field_topic_type_target_id
  459. table: node__field_topic_type
  460. field: field_topic_type_target_id
  461. relationship: none
  462. group_type: group
  463. admin_label: field_topic_type_expose_filter
  464. operator: or
  465. value: { }
  466. group: 1
  467. exposed: true
  468. expose:
  469. operator_id: field_topic_type_target_id_op
  470. label: 'is the type of'
  471. description: ''
  472. use_operator: false
  473. operator: field_topic_type_target_id_op
  474. identifier: field_topic_type_target_id
  475. required: false
  476. remember: false
  477. multiple: false
  478. remember_roles:
  479. authenticated: authenticated
  480. anonymous: '0'
  481. administrator: '0'
  482. reduce: false
  483. operator_limit_selection: false
  484. operator_list: { }
  485. is_grouped: false
  486. group_info:
  487. label: ''
  488. description: ''
  489. identifier: ''
  490. optional: true
  491. widget: select
  492. multiple: false
  493. remember: false
  494. default_group: All
  495. default_group_multiple: { }
  496. group_items: { }
  497. reduce_duplicates: false
  498. type: select
  499. limit: true
  500. vid: topic_types
  501. hierarchy: false
  502. error_message: true
  503. plugin_id: taxonomy_index_tid
  504. nid:
  505. id: nid
  506. table: node_access
  507. field: nid
  508. relationship: none
  509. group_type: group
  510. admin_label: ''
  511. operator: '='
  512. value: ''
  513. group: 1
  514. exposed: false
  515. expose:
  516. operator_id: ''
  517. label: ''
  518. description: ''
  519. use_operator: false
  520. operator: ''
  521. identifier: ''
  522. required: false
  523. remember: false
  524. multiple: false
  525. remember_roles:
  526. authenticated: authenticated
  527. operator_limit_selection: false
  528. operator_list: { }
  529. is_grouped: false
  530. group_info:
  531. label: ''
  532. description: ''
  533. identifier: ''
  534. optional: true
  535. widget: select
  536. multiple: false
  537. remember: false
  538. default_group: All
  539. default_group_multiple: { }
  540. group_items: { }
  541. plugin_id: node_access
  542. default_langcode:
  543. admin_label: ''
  544. entity_field: default_langcode
  545. entity_type: node
  546. expose:
  547. description: ''
  548. identifier: ''
  549. label: ''
  550. multiple: false
  551. operator: ''
  552. operator_id: ''
  553. operator_limit_selection: false
  554. operator_list: { }
  555. remember: false
  556. remember_roles:
  557. authenticated: authenticated
  558. required: false
  559. use_operator: false
  560. exposed: false
  561. field: default_langcode
  562. group: 1
  563. group_info:
  564. default_group: All
  565. default_group_multiple: { }
  566. description: ''
  567. group_items: { }
  568. identifier: ''
  569. label: ''
  570. multiple: false
  571. optional: true
  572. remember: false
  573. widget: select
  574. group_type: group
  575. id: default_langcode
  576. is_grouped: false
  577. operator: '='
  578. plugin_id: boolean
  579. relationship: none
  580. table: node_field_data
  581. value: '1'
  582. filter_groups:
  583. operator: AND
  584. groups:
  585. 1: AND
  586. exposed_block: true
  587. sorts:
  588. created:
  589. id: created
  590. table: node_field_data
  591. field: created
  592. relationship: none
  593. group_type: group
  594. admin_label: ''
  595. order: DESC
  596. exposed: true
  597. expose:
  598. label: 'Sort by publish date'
  599. granularity: second
  600. entity_type: node
  601. entity_field: created
  602. plugin_id: date
  603. rendering_language: '***LANGUAGE_language_interface***'
  604. cache_metadata:
  605. max-age: -1
  606. contexts:
  607. - 'languages:language_content'
  608. - 'languages:language_interface'
  609. - url
  610. - url.query_args
  611. - 'url.query_args:sort_by'
  612. - 'url.query_args:sort_order'
  613. - user
  614. - 'user.node_grants:view'
  615. - user.permissions
  616. tags: { }