You are here

views.view.topics.yml in Open Social 8

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