You are here

views.view.latest_topics.yml in Open Social 8.9

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