You are here

views.view.opigno_training_catalog.yml in Opigno training catalog 3.x

config/optional/views.view.opigno_training_catalog.yml

File

config/optional/views.view.opigno_training_catalog.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - core.entity_view_mode.group.catalog_item
  6. - field.storage.group.field_learning_path_category
  7. - field.storage.group.field_learning_path_description
  8. - group.type.learning_path
  9. - taxonomy.vocabulary.duration
  10. - taxonomy.vocabulary.learning_path_category
  11. module:
  12. - better_exposed_filters
  13. - group
  14. - opigno_catalog
  15. - opigno_learning_path
  16. - taxonomy
  17. - text
  18. - views_infinite_scroll
  19. id: opigno_training_catalog
  20. label: 'Opigno training catalogue'
  21. module: views
  22. description: ''
  23. tag: ''
  24. base_table: groups_field_data
  25. base_field: id
  26. display:
  27. default:
  28. display_plugin: default
  29. id: default
  30. display_title: Master
  31. position: 0
  32. display_options:
  33. access:
  34. type: none
  35. options: { }
  36. cache:
  37. type: tag
  38. options: { }
  39. query:
  40. type: views_query
  41. options:
  42. disable_sql_rewrite: true
  43. distinct: true
  44. replica: false
  45. query_comment: ''
  46. query_tags: { }
  47. exposed_form:
  48. type: bef
  49. options:
  50. submit_button: Apply
  51. reset_button: true
  52. reset_button_label: 'Reset filter'
  53. exposed_sorts_label: Sort
  54. expose_sort_order: true
  55. sort_asc_label: Asc
  56. sort_desc_label: Desc
  57. text_input_required: 'Select any filter and click on Apply to see results'
  58. text_input_required_format: basic_html
  59. bef:
  60. general:
  61. autosubmit: false
  62. autosubmit_exclude_textfield: false
  63. autosubmit_textfield_delay: 500
  64. autosubmit_hide: true
  65. input_required: false
  66. allow_secondary: false
  67. secondary_label: 'Advanced options'
  68. secondary_open: false
  69. sort:
  70. plugin_id: default
  71. advanced:
  72. combine: true
  73. combine_rewrite: "Created on Desc|Newest\r\nCreated on Asc|Oldest\r\nWeight Asc|Shortest\r\nWeight Desc|Longest\r\nTitle Asc|A to Z\r\nTitle Desc|Z to A"
  74. reset: false
  75. reset_label: ''
  76. collapsible: false
  77. collapsible_label: 'Sort options'
  78. is_secondary: false
  79. filter:
  80. combine:
  81. plugin_id: default
  82. advanced:
  83. placeholder_text: ''
  84. collapsible: false
  85. is_secondary: false
  86. opigno_group_membership:
  87. plugin_id: bef
  88. advanced:
  89. rewrite:
  90. filter_rewrite_values: ''
  91. collapsible: false
  92. is_secondary: false
  93. select_all_none: false
  94. select_all_none_nested: false
  95. display_inline: false
  96. field_learning_path_category_target_id:
  97. plugin_id: bef
  98. advanced:
  99. sort_options: false
  100. rewrite:
  101. filter_rewrite_values: '- Any -|All Categories'
  102. collapsible: false
  103. is_secondary: false
  104. select_all_none: false
  105. select_all_none_nested: false
  106. display_inline: false
  107. field_learning_path_duration_target_id:
  108. plugin_id: bef
  109. advanced:
  110. sort_options: false
  111. rewrite:
  112. filter_rewrite_values: ''
  113. collapsible: false
  114. is_secondary: false
  115. select_all_none: false
  116. select_all_none_nested: false
  117. display_inline: false
  118. status:
  119. plugin_id: bef
  120. advanced:
  121. placeholder_text: ''
  122. rewrite:
  123. filter_rewrite_values: ''
  124. collapsible: false
  125. is_secondary: false
  126. select_all_none: false
  127. select_all_none_nested: false
  128. display_inline: false
  129. input_required: false
  130. pager:
  131. type: infinite_scroll
  132. options:
  133. items_per_page: 6
  134. offset: 0
  135. id: 0
  136. total_pages: null
  137. tags:
  138. previous: ‹‹
  139. next: ››
  140. expose:
  141. items_per_page: false
  142. items_per_page_label: 'Items per page'
  143. items_per_page_options: '5, 10, 25, 50'
  144. items_per_page_options_all: false
  145. items_per_page_options_all_label: '- All -'
  146. offset: false
  147. offset_label: Offset
  148. views_infinite_scroll:
  149. button_text: 'Load more'
  150. automatically_load_content: false
  151. initially_load_all_pages: false
  152. style:
  153. type: default
  154. options:
  155. grouping: { }
  156. row_class: ''
  157. default_row_class: false
  158. row:
  159. type: fields
  160. options:
  161. default_field_elements: false
  162. inline: { }
  163. separator: ''
  164. hide_empty: false
  165. fields:
  166. label_1:
  167. id: label_1
  168. table: groups_field_data
  169. field: label
  170. relationship: none
  171. group_type: group
  172. admin_label: ''
  173. label: ''
  174. exclude: true
  175. alter:
  176. alter_text: false
  177. text: ''
  178. make_link: false
  179. path: ''
  180. absolute: false
  181. external: false
  182. replace_spaces: false
  183. path_case: none
  184. trim_whitespace: false
  185. alt: ''
  186. rel: ''
  187. link_class: ''
  188. prefix: ''
  189. suffix: ''
  190. target: ''
  191. nl2br: false
  192. max_length: 0
  193. word_boundary: true
  194. ellipsis: true
  195. more_link: false
  196. more_link_text: ''
  197. more_link_path: ''
  198. strip_tags: false
  199. trim: false
  200. preserve_tags: ''
  201. html: false
  202. element_type: ''
  203. element_class: ''
  204. element_label_type: ''
  205. element_label_class: ''
  206. element_label_colon: false
  207. element_wrapper_type: ''
  208. element_wrapper_class: ''
  209. element_default_classes: true
  210. empty: ''
  211. hide_empty: false
  212. empty_zero: false
  213. hide_alter_empty: true
  214. click_sort_column: value
  215. type: string
  216. settings:
  217. link_to_entity: false
  218. group_column: value
  219. group_columns: { }
  220. group_rows: true
  221. delta_limit: 0
  222. delta_offset: 0
  223. delta_reversed: false
  224. delta_first_last: false
  225. multi_type: separator
  226. separator: ', '
  227. field_api_classes: false
  228. entity_type: group
  229. entity_field: label
  230. plugin_id: field
  231. field_learning_path_category:
  232. id: field_learning_path_category
  233. table: group__field_learning_path_category
  234. field: field_learning_path_category
  235. relationship: none
  236. group_type: group
  237. admin_label: ''
  238. label: ''
  239. exclude: true
  240. alter:
  241. alter_text: false
  242. text: ''
  243. make_link: false
  244. path: ''
  245. absolute: false
  246. external: false
  247. replace_spaces: false
  248. path_case: none
  249. trim_whitespace: false
  250. alt: ''
  251. rel: ''
  252. link_class: ''
  253. prefix: ''
  254. suffix: ''
  255. target: ''
  256. nl2br: false
  257. max_length: 0
  258. word_boundary: true
  259. ellipsis: true
  260. more_link: false
  261. more_link_text: ''
  262. more_link_path: ''
  263. strip_tags: false
  264. trim: false
  265. preserve_tags: ''
  266. html: false
  267. element_type: ''
  268. element_class: ''
  269. element_label_type: ''
  270. element_label_class: ''
  271. element_label_colon: false
  272. element_wrapper_type: ''
  273. element_wrapper_class: ''
  274. element_default_classes: true
  275. empty: ''
  276. hide_empty: false
  277. empty_zero: false
  278. hide_alter_empty: true
  279. click_sort_column: target_id
  280. type: entity_reference_label
  281. settings:
  282. link: false
  283. group_column: target_id
  284. group_columns: { }
  285. group_rows: true
  286. delta_limit: 0
  287. delta_offset: 0
  288. delta_reversed: false
  289. delta_first_last: false
  290. multi_type: separator
  291. separator: ', '
  292. field_api_classes: false
  293. plugin_id: field
  294. field_learning_path_description:
  295. id: field_learning_path_description
  296. table: group__field_learning_path_description
  297. field: field_learning_path_description
  298. relationship: none
  299. group_type: group
  300. admin_label: ''
  301. label: ''
  302. exclude: true
  303. alter:
  304. alter_text: false
  305. text: ''
  306. make_link: false
  307. path: ''
  308. absolute: false
  309. external: false
  310. replace_spaces: false
  311. path_case: none
  312. trim_whitespace: false
  313. alt: ''
  314. rel: ''
  315. link_class: ''
  316. prefix: ''
  317. suffix: ''
  318. target: ''
  319. nl2br: false
  320. max_length: 0
  321. word_boundary: true
  322. ellipsis: true
  323. more_link: false
  324. more_link_text: ''
  325. more_link_path: ''
  326. strip_tags: false
  327. trim: false
  328. preserve_tags: ''
  329. html: false
  330. element_type: ''
  331. element_class: ''
  332. element_label_type: ''
  333. element_label_class: ''
  334. element_label_colon: false
  335. element_wrapper_type: ''
  336. element_wrapper_class: ''
  337. element_default_classes: true
  338. empty: ''
  339. hide_empty: false
  340. empty_zero: false
  341. hide_alter_empty: true
  342. click_sort_column: value
  343. type: text_trimmed
  344. settings:
  345. trim_length: 200
  346. group_column: entity_id
  347. group_columns: { }
  348. group_rows: true
  349. delta_limit: 0
  350. delta_offset: 0
  351. delta_reversed: false
  352. delta_first_last: false
  353. multi_type: separator
  354. separator: ', '
  355. field_api_classes: false
  356. plugin_id: field
  357. rendered_entity:
  358. id: rendered_entity
  359. table: groups
  360. field: rendered_entity
  361. relationship: none
  362. group_type: group
  363. admin_label: ''
  364. label: ''
  365. exclude: false
  366. alter:
  367. alter_text: false
  368. text: ''
  369. make_link: false
  370. path: ''
  371. absolute: false
  372. external: false
  373. replace_spaces: false
  374. path_case: none
  375. trim_whitespace: false
  376. alt: ''
  377. rel: ''
  378. link_class: ''
  379. prefix: ''
  380. suffix: ''
  381. target: ''
  382. nl2br: false
  383. max_length: 0
  384. word_boundary: true
  385. ellipsis: true
  386. more_link: false
  387. more_link_text: ''
  388. more_link_path: ''
  389. strip_tags: false
  390. trim: false
  391. preserve_tags: ''
  392. html: false
  393. element_type: ''
  394. element_class: ''
  395. element_label_type: ''
  396. element_label_class: ''
  397. element_label_colon: false
  398. element_wrapper_type: ''
  399. element_wrapper_class: ''
  400. element_default_classes: false
  401. empty: ''
  402. hide_empty: false
  403. empty_zero: false
  404. hide_alter_empty: true
  405. view_mode: catalog_item
  406. entity_type: group
  407. plugin_id: rendered_entity
  408. filters:
  409. type:
  410. id: type
  411. table: groups_field_data
  412. field: type
  413. value:
  414. learning_path: learning_path
  415. entity_type: group
  416. entity_field: type
  417. plugin_id: bundle
  418. group: 1
  419. expose:
  420. operator_limit_selection: false
  421. operator_list: { }
  422. field_learning_path_published_value:
  423. id: field_learning_path_published_value
  424. table: group__field_learning_path_published
  425. field: field_learning_path_published_value
  426. relationship: none
  427. group_type: group
  428. admin_label: ''
  429. operator: '='
  430. value: '1'
  431. group: 1
  432. exposed: false
  433. expose:
  434. operator_id: ''
  435. label: ''
  436. description: ''
  437. use_operator: false
  438. operator: ''
  439. identifier: ''
  440. required: false
  441. remember: false
  442. multiple: false
  443. remember_roles:
  444. authenticated: authenticated
  445. operator_limit_selection: false
  446. operator_list: { }
  447. is_grouped: false
  448. group_info:
  449. label: ''
  450. description: ''
  451. identifier: ''
  452. optional: true
  453. widget: select
  454. multiple: false
  455. remember: false
  456. default_group: All
  457. default_group_multiple: { }
  458. group_items: { }
  459. plugin_id: boolean
  460. combine:
  461. id: combine
  462. table: views
  463. field: combine
  464. relationship: none
  465. group_type: group
  466. admin_label: ''
  467. operator: word
  468. value: ''
  469. group: 1
  470. exposed: true
  471. expose:
  472. operator_id: combine_op
  473. label: ''
  474. description: ''
  475. use_operator: false
  476. operator: combine_op
  477. operator_limit_selection: false
  478. operator_list: { }
  479. identifier: search
  480. required: false
  481. remember: false
  482. multiple: false
  483. remember_roles:
  484. authenticated: authenticated
  485. anonymous: '0'
  486. collaborative_features: '0'
  487. statistics_reader: '0'
  488. user_manager: '0'
  489. content_manager: '0'
  490. administrator: '0'
  491. placeholder: Search
  492. is_grouped: false
  493. group_info:
  494. label: ''
  495. description: ''
  496. identifier: ''
  497. optional: true
  498. widget: select
  499. multiple: false
  500. remember: false
  501. default_group: All
  502. default_group_multiple: { }
  503. group_items: { }
  504. fields:
  505. label_1: label_1
  506. field_learning_path_category: field_learning_path_category
  507. field_learning_path_description: field_learning_path_description
  508. plugin_id: combine
  509. opigno_group_membership:
  510. id: opigno_group_membership
  511. table: groups_field_data
  512. field: opigno_group_membership
  513. relationship: none
  514. group_type: group
  515. admin_label: ''
  516. operator: '='
  517. value: '0'
  518. group: 1
  519. exposed: true
  520. expose:
  521. operator_id: ''
  522. label: Visibility
  523. description: ''
  524. use_operator: false
  525. operator: opigno_group_membership_op
  526. operator_limit_selection: false
  527. operator_list: { }
  528. identifier: opigno_group_membership
  529. required: false
  530. remember: false
  531. multiple: false
  532. remember_roles:
  533. authenticated: authenticated
  534. anonymous: '0'
  535. collaborative_features: '0'
  536. statistics_reader: '0'
  537. user_manager: '0'
  538. content_manager: '0'
  539. administrator: '0'
  540. is_grouped: false
  541. group_info:
  542. label: ''
  543. description: ''
  544. identifier: ''
  545. optional: true
  546. widget: select
  547. multiple: false
  548. remember: false
  549. default_group: All
  550. default_group_multiple: { }
  551. group_items: { }
  552. entity_type: group
  553. plugin_id: opigno_group_membership_boolean
  554. field_learning_path_category_target_id:
  555. id: field_learning_path_category_target_id
  556. table: group__field_learning_path_category
  557. field: field_learning_path_category_target_id
  558. relationship: none
  559. group_type: group
  560. admin_label: ''
  561. operator: or
  562. value: { }
  563. group: 1
  564. exposed: true
  565. expose:
  566. operator_id: field_learning_path_category_target_id_op
  567. label: Categories
  568. description: ''
  569. use_operator: false
  570. operator: field_learning_path_category_target_id_op
  571. operator_limit_selection: false
  572. operator_list: { }
  573. identifier: field_learning_path_category_target_id
  574. required: false
  575. remember: false
  576. multiple: true
  577. remember_roles:
  578. authenticated: authenticated
  579. anonymous: '0'
  580. collaborative_features: '0'
  581. statistics_reader: '0'
  582. user_manager: '0'
  583. content_manager: '0'
  584. administrator: '0'
  585. reduce: false
  586. is_grouped: false
  587. group_info:
  588. label: ''
  589. description: ''
  590. identifier: ''
  591. optional: true
  592. widget: select
  593. multiple: false
  594. remember: false
  595. default_group: All
  596. default_group_multiple: { }
  597. group_items: { }
  598. reduce_duplicates: false
  599. type: select
  600. limit: true
  601. vid: learning_path_category
  602. hierarchy: false
  603. error_message: true
  604. plugin_id: taxonomy_index_tid
  605. field_learning_path_duration_target_id:
  606. id: field_learning_path_duration_target_id
  607. table: group__field_learning_path_duration
  608. field: field_learning_path_duration_target_id
  609. relationship: none
  610. group_type: group
  611. admin_label: ''
  612. operator: or
  613. value: { }
  614. group: 1
  615. exposed: true
  616. expose:
  617. operator_id: field_learning_path_duration_target_id_op
  618. label: Duration
  619. description: ''
  620. use_operator: false
  621. operator: field_learning_path_duration_target_id_op
  622. operator_limit_selection: false
  623. operator_list: { }
  624. identifier: field_learning_path_duration_target_id
  625. required: false
  626. remember: false
  627. multiple: true
  628. remember_roles:
  629. authenticated: authenticated
  630. anonymous: '0'
  631. collaborative_features: '0'
  632. statistics_reader: '0'
  633. user_manager: '0'
  634. content_manager: '0'
  635. administrator: '0'
  636. reduce: false
  637. is_grouped: false
  638. group_info:
  639. label: ''
  640. description: ''
  641. identifier: ''
  642. optional: true
  643. widget: select
  644. multiple: false
  645. remember: false
  646. default_group: All
  647. default_group_multiple: { }
  648. group_items: { }
  649. reduce_duplicates: false
  650. type: select
  651. limit: true
  652. vid: duration
  653. hierarchy: false
  654. error_message: true
  655. plugin_id: taxonomy_index_tid
  656. status:
  657. id: status
  658. table: user_lp_status
  659. field: status
  660. relationship: user_lp_status
  661. group_type: group
  662. admin_label: ''
  663. operator: '='
  664. value: ''
  665. group: 2
  666. exposed: true
  667. expose:
  668. operator_id: status_op
  669. label: Status
  670. description: null
  671. use_operator: false
  672. operator: status_op
  673. operator_limit_selection: false
  674. operator_list: { }
  675. identifier: status
  676. required: false
  677. remember: false
  678. multiple: true
  679. remember_roles:
  680. authenticated: authenticated
  681. placeholder: null
  682. is_grouped: true
  683. group_info:
  684. label: Status
  685. description: ''
  686. identifier: status
  687. optional: true
  688. widget: radios
  689. multiple: true
  690. remember: false
  691. default_group: All
  692. default_group_multiple: { }
  693. group_items:
  694. 1:
  695. title: Finished
  696. operator: word
  697. value: 'passed failed'
  698. 2:
  699. title: 'In progress'
  700. operator: '='
  701. value: 'in progress'
  702. 3:
  703. title: 'To start'
  704. operator: empty
  705. value: 'null'
  706. 4:
  707. title: Passed
  708. operator: '='
  709. value: passed
  710. 5:
  711. title: Failed
  712. operator: '='
  713. value: failed
  714. current_user: 1
  715. entity_type: user_lp_status
  716. entity_field: status
  717. plugin_id: string
  718. sorts:
  719. created:
  720. id: created
  721. table: groups_field_data
  722. field: created
  723. relationship: none
  724. group_type: group
  725. admin_label: ''
  726. order: DESC
  727. exposed: true
  728. expose:
  729. label: 'Created on'
  730. granularity: second
  731. entity_type: group
  732. entity_field: created
  733. plugin_id: date
  734. weight:
  735. id: weight
  736. table: taxonomy_term_field_data
  737. field: weight
  738. relationship: field_learning_path_duration
  739. group_type: group
  740. admin_label: ''
  741. order: ASC
  742. exposed: true
  743. expose:
  744. label: Weight
  745. entity_type: taxonomy_term
  746. entity_field: weight
  747. plugin_id: standard
  748. label:
  749. id: label
  750. table: groups_field_data
  751. field: label
  752. relationship: none
  753. group_type: group
  754. admin_label: ''
  755. order: ASC
  756. exposed: true
  757. expose:
  758. label: Title
  759. entity_type: group
  760. entity_field: label
  761. plugin_id: standard
  762. title: 'Training catalogue'
  763. header: { }
  764. footer: { }
  765. empty:
  766. area:
  767. id: area
  768. table: views
  769. field: area
  770. relationship: none
  771. group_type: group
  772. admin_label: ''
  773. empty: true
  774. tokenize: false
  775. content:
  776. value: "<h2>No training matches found from your search criteria.</h2>\r\n<p>Try changing your filters or try another search term.</p>"
  777. format: basic_html
  778. roles_fieldset:
  779. roles:
  780. anonymous: 0
  781. authenticated: 0
  782. collaborative_features: 0
  783. statistics_reader: 0
  784. user_manager: 0
  785. content_manager: 0
  786. administrator: 0
  787. plugin_id: text
  788. relationships:
  789. opigno_group_membership:
  790. id: opigno_group_membership
  791. table: groups_field_data
  792. field: opigno_group_membership
  793. relationship: none
  794. group_type: group
  795. admin_label: 'Membership relation'
  796. required: false
  797. entity_type: group
  798. plugin_id: standard
  799. field_learning_path_duration:
  800. id: field_learning_path_duration
  801. table: group__field_learning_path_duration
  802. field: field_learning_path_duration
  803. relationship: none
  804. group_type: group
  805. admin_label: Duration
  806. required: false
  807. plugin_id: standard
  808. user_lp_status:
  809. id: user_lp_status
  810. table: groups
  811. field: user_lp_status
  812. relationship: none
  813. group_type: group
  814. admin_label: 'User Learning Path status relation'
  815. required: false
  816. entity_type: group
  817. plugin_id: standard
  818. arguments: { }
  819. display_extenders: { }
  820. group_by: true
  821. filter_groups:
  822. operator: AND
  823. groups:
  824. 1: AND
  825. 2: OR
  826. use_ajax: true
  827. cache_metadata:
  828. max-age: -1
  829. contexts:
  830. - 'languages:language_content'
  831. - 'languages:language_interface'
  832. - url
  833. - url.query_args
  834. - 'url.query_args:sort_by'
  835. - 'url.query_args:sort_order'
  836. - user
  837. tags:
  838. - 'config:core.entity_view_display.group.learning_path.catalog_item'
  839. - 'config:core.entity_view_display.group.learning_path.default'
  840. - 'config:core.entity_view_display.group.learning_path.list_item'
  841. - 'config:core.entity_view_display.group.learning_path.preview'
  842. - 'config:core.entity_view_display.group.learning_path.teaser_of_group'
  843. - 'config:core.entity_view_display.group.opigno_class.default'
  844. - 'config:core.entity_view_display.group.opigno_course.default'
  845. - 'config:field.storage.group.field_learning_path_category'
  846. - 'config:field.storage.group.field_learning_path_description'
  847. training_catalogue:
  848. display_plugin: page
  849. id: training_catalogue
  850. display_title: 'Training catalogue'
  851. position: 1
  852. display_options:
  853. display_extenders: { }
  854. path: catalogue
  855. display_description: ''
  856. exposed_block: true
  857. rendering_language: '***LANGUAGE_language_interface***'
  858. cache_metadata:
  859. max-age: -1
  860. contexts:
  861. - 'languages:language_interface'
  862. - url
  863. - url.query_args
  864. - 'url.query_args:sort_by'
  865. - 'url.query_args:sort_order'
  866. - user
  867. tags:
  868. - 'config:core.entity_view_display.group.learning_path.catalog_item'
  869. - 'config:core.entity_view_display.group.learning_path.default'
  870. - 'config:core.entity_view_display.group.learning_path.list_item'
  871. - 'config:core.entity_view_display.group.learning_path.preview'
  872. - 'config:core.entity_view_display.group.learning_path.teaser_of_group'
  873. - 'config:core.entity_view_display.group.opigno_class.default'
  874. - 'config:core.entity_view_display.group.opigno_course.default'
  875. - 'config:field.storage.group.field_learning_path_category'
  876. - 'config:field.storage.group.field_learning_path_description'