You are here

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

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

File

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