diff --git a/config/sync/core.entity_form_display.node.learning_material.default.yml b/config/sync/core.entity_form_display.node.learning_material.default.yml new file mode 100644 index 00000000..fc8cfa32 --- /dev/null +++ b/config/sync/core.entity_form_display.node.learning_material.default.yml @@ -0,0 +1,192 @@ +uuid: 0b99152c-dec0-4316-98f2-0c382855e57a +langcode: en +status: true +dependencies: + config: + - field.field.node.learning_material.body + - field.field.node.learning_material.field_course_accessibility + - field.field.node.learning_material.field_course_type + - field.field.node.learning_material.field_course_stakeholder + - field.field.node.learning_material.field_course_topics + - field.field.node.learning_material.field_d_date + - field.field.node.learning_material.field_domains_of_interest + - field.field.node.learning_material.field_expertise + - field.field.node.learning_material.field_external_url + - field.field.node.learning_material.field_owner + - field.field.node.learning_material.field_reading_time + - field.field.node.learning_material.field_substance_group + - node.type.learning_material + module: + - allowed_formats + - datetime + - link + - path + - select2 + - text +id: node.learning_material.default +targetEntityType: node +bundle: learning_material +mode: default +content: + body: + type: text_textarea_with_summary + weight: 20 + region: content + settings: + rows: 3 + summary_rows: 3 + placeholder: '' + show_summary: false + third_party_settings: + allowed_formats: + hide_help: '1' + hide_guidelines: '1' + created: + type: datetime_timestamp + weight: 2 + region: content + settings: { } + third_party_settings: { } + field_course_accessibility: + type: select2 + weight: 16 + region: content + settings: + width: 100% + third_party_settings: { } + field_course_stakeholder: + type: select2 + weight: 12 + region: content + settings: + width: 100% + third_party_settings: { } + field_course_topics: + type: select2_entity_reference + weight: 11 + region: content + settings: + width: 100% + autocomplete: false + match_operator: CONTAINS + match_limit: 10 + third_party_settings: { } + field_course_type: + type: select2 + weight: 13 + region: content + settings: + width: 100% + third_party_settings: { } + field_d_date: + type: datetime_default + weight: 3 + region: content + settings: { } + third_party_settings: { } + field_domains_of_interest: + type: select2_entity_reference + weight: 10 + region: content + settings: + width: 100% + autocomplete: false + match_operator: CONTAINS + match_limit: 10 + third_party_settings: { } + field_expertise: + type: select2 + weight: 14 + region: content + settings: + width: 100% + third_party_settings: { } + field_external_url: + type: link_default + weight: 19 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + field_owner: + type: string_textfield + weight: 18 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_reading_time: + type: select2 + weight: 15 + region: content + settings: + width: 100% + third_party_settings: { } + field_substance_group: + type: select2_entity_reference + weight: 17 + region: content + settings: + width: 100% + autocomplete: false + match_operator: CONTAINS + match_limit: 10 + third_party_settings: { } + path: + type: path + weight: 7 + region: content + settings: { } + third_party_settings: { } + promote: + type: boolean_checkbox + weight: 5 + region: content + settings: + display_label: true + third_party_settings: { } + simple_sitemap: + weight: 4 + region: content + settings: { } + third_party_settings: { } + simple_sitemap_index_now: + weight: 9 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 8 + region: content + settings: + display_label: true + third_party_settings: { } + sticky: + type: boolean_checkbox + weight: 6 + region: content + settings: + display_label: true + third_party_settings: { } + title: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + uid: + type: entity_reference_autocomplete + weight: 1 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } +hidden: { } diff --git a/config/sync/core.entity_form_display.taxonomy_term.course_domains_of_interest.default.yml b/config/sync/core.entity_form_display.taxonomy_term.course_domains_of_interest.default.yml new file mode 100644 index 00000000..baecf738 --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.course_domains_of_interest.default.yml @@ -0,0 +1,63 @@ +uuid: 0ca0a8fd-ce27-482b-b9c3-9dc09dadda20 +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.course_domains_of_interest.field_color + - taxonomy.vocabulary.course_domains_of_interest + module: + - color_field + - path + - text +id: taxonomy_term.course_domains_of_interest.default +targetEntityType: taxonomy_term +bundle: course_domains_of_interest +mode: default +content: + description: + type: text_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_color: + type: color_field_widget_html5 + weight: 2 + region: content + settings: + show_extra: false + third_party_settings: { } + name: + type: string_textfield + weight: -5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } + simple_sitemap: + weight: 10 + region: content + settings: { } + third_party_settings: { } + simple_sitemap_index_now: + weight: 130 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 100 + region: content + settings: + display_label: true + third_party_settings: { } +hidden: { } diff --git a/config/sync/core.entity_form_display.taxonomy_term.course_topics.default.yml b/config/sync/core.entity_form_display.taxonomy_term.course_topics.default.yml new file mode 100644 index 00000000..fc14397b --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.course_topics.default.yml @@ -0,0 +1,63 @@ +uuid: ad125469-1f4e-471c-8283-bfe847236961 +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.course_topics.field_color + - taxonomy.vocabulary.course_topics + module: + - color_field + - path + - text +id: taxonomy_term.course_topics.default +targetEntityType: taxonomy_term +bundle: course_topics +mode: default +content: + description: + type: text_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_color: + type: color_field_widget_html5 + weight: 2 + region: content + settings: + show_extra: false + third_party_settings: { } + name: + type: string_textfield + weight: -5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } + simple_sitemap: + weight: 10 + region: content + settings: { } + third_party_settings: { } + simple_sitemap_index_now: + weight: 130 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 100 + region: content + settings: + display_label: true + third_party_settings: { } +hidden: { } diff --git a/config/sync/core.entity_view_display.node.learning_material.card_item.yml b/config/sync/core.entity_view_display.node.learning_material.card_item.yml new file mode 100644 index 00000000..4da3ec60 --- /dev/null +++ b/config/sync/core.entity_view_display.node.learning_material.card_item.yml @@ -0,0 +1,131 @@ +uuid: 0195d265-762f-40c1-9a6a-4420bdf664e7 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.card_item + - field.field.node.learning_material.body + - field.field.node.learning_material.field_course_accessibility + - field.field.node.learning_material.field_course_stakeholder + - field.field.node.learning_material.field_course_topics + - field.field.node.learning_material.field_course_type + - field.field.node.learning_material.field_d_date + - field.field.node.learning_material.field_domains_of_interest + - field.field.node.learning_material.field_expertise + - field.field.node.learning_material.field_external_url + - field.field.node.learning_material.field_owner + - field.field.node.learning_material.field_reading_time + - field.field.node.learning_material.field_substance_group + - node.type.learning_material + module: + - datetime + - layout_builder + - link + - options + - text + - user +third_party_settings: + layout_builder: + enabled: false + allow_custom: false +id: node.learning_material.card_item +targetEntityType: node +bundle: learning_material +mode: card_item +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 2 + region: content + field_course_accessibility: + type: list_default + label: hidden + settings: { } + third_party_settings: { } + weight: 9 + region: content + field_course_stakeholder: + type: list_default + label: hidden + settings: { } + third_party_settings: { } + weight: 5 + region: content + field_course_topics: + type: entity_reference_label + label: hidden + settings: + link: false + third_party_settings: { } + weight: 4 + region: content + field_course_type: + type: list_default + label: hidden + settings: { } + third_party_settings: { } + weight: 6 + region: content + field_d_date: + type: datetime_default + label: hidden + settings: + timezone_override: '' + format_type: medium + third_party_settings: { } + weight: 0 + region: content + field_domains_of_interest: + type: entity_reference_label + label: hidden + settings: + link: false + third_party_settings: { } + weight: 3 + region: content + field_expertise: + type: list_default + label: hidden + settings: { } + third_party_settings: { } + weight: 7 + region: content + field_external_url: + type: link + label: hidden + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 10 + region: content + field_owner: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 11 + region: content + field_reading_time: + type: list_default + label: hidden + settings: { } + third_party_settings: { } + weight: 8 + region: content + links: + settings: { } + third_party_settings: { } + weight: 1 + region: content +hidden: + addtoany: true + field_substance_group: true + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.learning_material.default.yml b/config/sync/core.entity_view_display.node.learning_material.default.yml new file mode 100644 index 00000000..5858ff03 --- /dev/null +++ b/config/sync/core.entity_view_display.node.learning_material.default.yml @@ -0,0 +1,132 @@ +uuid: 05ff3234-f8b8-4f21-88b4-5b46509571a3 +langcode: en +status: true +dependencies: + config: + - field.field.node.learning_material.body + - field.field.node.learning_material.field_course_accessibility + - field.field.node.learning_material.field_course_type + - field.field.node.learning_material.field_course_stakeholder + - field.field.node.learning_material.field_course_topics + - field.field.node.learning_material.field_d_date + - field.field.node.learning_material.field_domains_of_interest + - field.field.node.learning_material.field_expertise + - field.field.node.learning_material.field_external_url + - field.field.node.learning_material.field_owner + - field.field.node.learning_material.field_reading_time + - field.field.node.learning_material.field_substance_group + - node.type.learning_material + module: + - datetime + - link + - options + - text + - user +id: node.learning_material.default +targetEntityType: node +bundle: learning_material +mode: default +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 101 + region: content + field_course_accessibility: + type: list_default + label: hidden + settings: { } + third_party_settings: { } + weight: 108 + region: content + field_course_stakeholder: + type: list_default + label: hidden + settings: { } + third_party_settings: { } + weight: 104 + region: content + field_course_topics: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 103 + region: content + field_course_type: + type: list_default + label: hidden + settings: { } + third_party_settings: { } + weight: 105 + region: content + field_d_date: + type: datetime_default + label: hidden + settings: + timezone_override: '' + format_type: medium + third_party_settings: { } + weight: 2 + region: content + field_domains_of_interest: + type: entity_reference_label + label: hidden + settings: + link: true + third_party_settings: { } + weight: 102 + region: content + field_expertise: + type: list_default + label: hidden + settings: { } + third_party_settings: { } + weight: 106 + region: content + field_external_url: + type: link + label: hidden + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 109 + region: content + field_owner: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 110 + region: content + field_reading_time: + type: list_default + label: hidden + settings: { } + third_party_settings: { } + weight: 107 + region: content + field_substance_group: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 8 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + addtoany: true + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.learning_material.header.yml b/config/sync/core.entity_view_display.node.learning_material.header.yml new file mode 100644 index 00000000..71fc03b9 --- /dev/null +++ b/config/sync/core.entity_view_display.node.learning_material.header.yml @@ -0,0 +1,46 @@ +uuid: e0acc7b7-ebd8-4c53-ba9b-7fe6a03f22a7 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.header + - field.field.node.learning_material.body + - field.field.node.learning_material.field_course_accessibility + - field.field.node.learning_material.field_course_type + - field.field.node.learning_material.field_course_stakeholder + - field.field.node.learning_material.field_course_topics + - field.field.node.learning_material.field_d_date + - field.field.node.learning_material.field_domains_of_interest + - field.field.node.learning_material.field_expertise + - field.field.node.learning_material.field_external_url + - field.field.node.learning_material.field_owner + - field.field.node.learning_material.field_reading_time + - field.field.node.learning_material.field_substance_group + - node.type.learning_material + module: + - user +id: node.learning_material.header +targetEntityType: node +bundle: learning_material +mode: header +content: + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + addtoany: true + body: true + field_course_accessibility: true + field_course_stakeholder: true + field_course_topics: true + field_course_type: true + field_d_date: true + field_domains_of_interest: true + field_expertise: true + field_external_url: true + field_owner: true + field_reading_time: true + field_substance_group: true + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.learning_material.info.yml b/config/sync/core.entity_view_display.node.learning_material.info.yml new file mode 100644 index 00000000..ec6833e0 --- /dev/null +++ b/config/sync/core.entity_view_display.node.learning_material.info.yml @@ -0,0 +1,46 @@ +uuid: 2c4cec50-9b58-46c0-bc9c-b2b1562dfe43 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.info + - field.field.node.learning_material.body + - field.field.node.learning_material.field_course_accessibility + - field.field.node.learning_material.field_course_type + - field.field.node.learning_material.field_course_stakeholder + - field.field.node.learning_material.field_course_topics + - field.field.node.learning_material.field_d_date + - field.field.node.learning_material.field_domains_of_interest + - field.field.node.learning_material.field_expertise + - field.field.node.learning_material.field_external_url + - field.field.node.learning_material.field_owner + - field.field.node.learning_material.field_reading_time + - field.field.node.learning_material.field_substance_group + - node.type.learning_material + module: + - user +id: node.learning_material.info +targetEntityType: node +bundle: learning_material +mode: info +content: + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + addtoany: true + body: true + field_course_accessibility: true + field_course_stakeholder: true + field_course_topics: true + field_course_type: true + field_d_date: true + field_domains_of_interest: true + field_expertise: true + field_external_url: true + field_owner: true + field_reading_time: true + field_substance_group: true + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.node.learning_material.teaser.yml b/config/sync/core.entity_view_display.node.learning_material.teaser.yml new file mode 100644 index 00000000..8bcf8063 --- /dev/null +++ b/config/sync/core.entity_view_display.node.learning_material.teaser.yml @@ -0,0 +1,70 @@ +uuid: 015a01ee-56a2-4d62-904c-37ebfb0c426b +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.learning_material.body + - field.field.node.learning_material.field_course_accessibility + - field.field.node.learning_material.field_course_type + - field.field.node.learning_material.field_course_stakeholder + - field.field.node.learning_material.field_course_topics + - field.field.node.learning_material.field_d_date + - field.field.node.learning_material.field_domains_of_interest + - field.field.node.learning_material.field_expertise + - field.field.node.learning_material.field_external_url + - field.field.node.learning_material.field_owner + - field.field.node.learning_material.field_reading_time + - field.field.node.learning_material.field_substance_group + - node.type.learning_material + module: + - datetime + - text + - user +id: node.learning_material.teaser +targetEntityType: node +bundle: learning_material +mode: teaser +content: + body: + type: text_summary_or_trimmed + label: hidden + settings: + trim_length: 600 + third_party_settings: { } + weight: 101 + region: content + field_d_date: + type: datetime_default + label: hidden + settings: + timezone_override: '' + format_type: medium + third_party_settings: { } + weight: 1 + region: content + field_substance_group: + type: entity_reference_label + label: hidden + settings: + link: false + third_party_settings: { } + weight: 8 + region: content + links: + settings: { } + third_party_settings: { } + weight: 100 + region: content +hidden: + addtoany: true + field_course_accessibility: true + field_course_stakeholder: true + field_course_topics: true + field_course_type: true + field_domains_of_interest: true + field_expertise: true + field_external_url: true + field_owner: true + field_reading_time: true + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.taxonomy_term.course_domains_of_interest.default.yml b/config/sync/core.entity_view_display.taxonomy_term.course_domains_of_interest.default.yml new file mode 100644 index 00000000..00e86f41 --- /dev/null +++ b/config/sync/core.entity_view_display.taxonomy_term.course_domains_of_interest.default.yml @@ -0,0 +1,33 @@ +uuid: 5034d4f0-3851-49e1-85d5-be4a129a3994 +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.course_domains_of_interest.field_color + - taxonomy.vocabulary.course_domains_of_interest + module: + - color_field + - text +id: taxonomy_term.course_domains_of_interest.default +targetEntityType: taxonomy_term +bundle: course_domains_of_interest +mode: default +content: + description: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content + field_color: + type: color_field_formatter_text + label: above + settings: + format: hex + opacity: true + third_party_settings: { } + weight: 2 + region: content +hidden: + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.taxonomy_term.course_topics.default.yml b/config/sync/core.entity_view_display.taxonomy_term.course_topics.default.yml new file mode 100644 index 00000000..d7f5a588 --- /dev/null +++ b/config/sync/core.entity_view_display.taxonomy_term.course_topics.default.yml @@ -0,0 +1,33 @@ +uuid: 8a68a366-f513-4091-9e6f-eb77c460faca +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.course_topics.field_color + - taxonomy.vocabulary.course_topics + module: + - color_field + - text +id: taxonomy_term.course_topics.default +targetEntityType: taxonomy_term +bundle: course_topics +mode: default +content: + description: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content + field_color: + type: color_field_formatter_text + label: above + settings: + format: hex + opacity: true + third_party_settings: { } + weight: 2 + region: content +hidden: + search_api_excerpt: true diff --git a/config/sync/facets.facet.accessiblity.yml b/config/sync/facets.facet.accessiblity.yml new file mode 100644 index 00000000..c2630c19 --- /dev/null +++ b/config/sync/facets.facet.accessiblity.yml @@ -0,0 +1,67 @@ +uuid: 6dda28a1-e7c0-4f3a-bb07-209ea0a5b129 +langcode: en +status: true +dependencies: + config: + - search_api.index.learning_material + - views.view.learning_materials + module: + - search_api +id: accessiblity +name: 'Accessiblity ' +weight: -1 +min_count: 1 +missing: false +missing_label: others +url_alias: accessiblity +facet_source_id: 'search_api:views_block__learning_materials__block_1' +field_identifier: field_course_accessibility +query_operator: or +hard_limit: 0 +exclude: false +use_hierarchy: false +keep_hierarchy_parents_active: false +hierarchy: + type: taxonomy + config: { } +expand_hierarchy: true +enable_parent_when_child_gets_disabled: false +widget: + type: parc_checkbox + config: + show_numbers: true + soft_limit: '0' + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: 0 + reset_text: 'Show all' + hide_reset_when_no_selection: 0 +empty_behavior: + behavior: none +only_visible_when_facet_source_is_visible: false +show_only_one_result: false +show_title: false +processor_configs: + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + hierarchy_processor: + processor_id: hierarchy_processor + weights: + build: 100 + settings: { } + list_item: + processor_id: list_item + weights: + build: 5 + settings: { } + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } diff --git a/config/sync/facets.facet.course_date.yml b/config/sync/facets.facet.course_date.yml new file mode 100644 index 00000000..d409b16d --- /dev/null +++ b/config/sync/facets.facet.course_date.yml @@ -0,0 +1,71 @@ +uuid: aed6dd82-ca7b-4a8b-87ee-fb7219ad8b79 +langcode: en +status: true +dependencies: + config: + - search_api.index.learning_material + - views.view.learning_materials + module: + - search_api +id: course_date +name: Date +weight: -1 +min_count: 1 +missing: false +missing_label: others +url_alias: date +facet_source_id: 'search_api:views_block__learning_materials__block_1' +field_identifier: field_d_date +query_operator: or +hard_limit: 0 +exclude: false +use_hierarchy: false +keep_hierarchy_parents_active: false +hierarchy: + type: taxonomy + config: { } +expand_hierarchy: true +enable_parent_when_child_gets_disabled: false +widget: + type: parc_checkbox + config: + show_numbers: true + soft_limit: '0' + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: 0 + reset_text: 'Show all' + hide_reset_when_no_selection: 0 +empty_behavior: + behavior: none +only_visible_when_facet_source_is_visible: false +show_only_one_result: false +show_title: false +processor_configs: + date_item: + processor_id: date_item + weights: + build: 35 + settings: + date_display: actual_date + granularity: 6 + date_format: 'Y' + hierarchy: false + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + hierarchy_processor: + processor_id: hierarchy_processor + weights: + build: 100 + settings: { } + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } diff --git a/config/sync/facets.facet.domain_of_interest.yml b/config/sync/facets.facet.domain_of_interest.yml new file mode 100644 index 00000000..f3ee4464 --- /dev/null +++ b/config/sync/facets.facet.domain_of_interest.yml @@ -0,0 +1,67 @@ +uuid: 3d074f7b-032e-4060-89f0-e14b9b4f87d6 +langcode: en +status: true +dependencies: + config: + - search_api.index.learning_material + - views.view.learning_materials + module: + - search_api +id: domain_of_interest +name: 'Domain of interest' +weight: -1 +min_count: 1 +missing: false +missing_label: others +url_alias: domain_of_interest +facet_source_id: 'search_api:views_block__learning_materials__block_1' +field_identifier: field_domains_of_interest +query_operator: or +hard_limit: 0 +exclude: false +use_hierarchy: false +keep_hierarchy_parents_active: false +hierarchy: + type: taxonomy + config: { } +expand_hierarchy: true +enable_parent_when_child_gets_disabled: false +widget: + type: parc_checkbox + config: + show_numbers: true + soft_limit: '0' + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: 0 + reset_text: 'Show all' + hide_reset_when_no_selection: 0 +empty_behavior: + behavior: none +only_visible_when_facet_source_is_visible: false +show_only_one_result: false +show_title: false +processor_configs: + hierarchy_processor: + processor_id: hierarchy_processor + weights: + build: 100 + settings: { } + term_weight_widget_order: + processor_id: term_weight_widget_order + weights: + sort: 60 + settings: + sort: ASC + translate_entity: + processor_id: translate_entity + weights: + build: 5 + settings: { } + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } diff --git a/config/sync/facets.facet.level_of_expertise.yml b/config/sync/facets.facet.level_of_expertise.yml new file mode 100644 index 00000000..b596c5b2 --- /dev/null +++ b/config/sync/facets.facet.level_of_expertise.yml @@ -0,0 +1,67 @@ +uuid: 944a0878-2240-4445-ac14-529cd4f8bcd5 +langcode: en +status: true +dependencies: + config: + - search_api.index.learning_material + - views.view.learning_materials + module: + - search_api +id: level_of_expertise +name: 'Level of expertise' +weight: -1 +min_count: 1 +missing: false +missing_label: others +url_alias: level_of_expertise +facet_source_id: 'search_api:views_block__learning_materials__block_1' +field_identifier: field_expertise +query_operator: or +hard_limit: 0 +exclude: false +use_hierarchy: false +keep_hierarchy_parents_active: false +hierarchy: + type: taxonomy + config: { } +expand_hierarchy: true +enable_parent_when_child_gets_disabled: false +widget: + type: parc_checkbox + config: + show_numbers: true + soft_limit: '0' + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: 0 + reset_text: 'Show all' + hide_reset_when_no_selection: 0 +empty_behavior: + behavior: none +only_visible_when_facet_source_is_visible: false +show_only_one_result: false +show_title: false +processor_configs: + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + hierarchy_processor: + processor_id: hierarchy_processor + weights: + build: 100 + settings: { } + list_item: + processor_id: list_item + weights: + build: 5 + settings: { } + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } diff --git a/config/sync/facets.facet.reading_time.yml b/config/sync/facets.facet.reading_time.yml new file mode 100644 index 00000000..d72bac34 --- /dev/null +++ b/config/sync/facets.facet.reading_time.yml @@ -0,0 +1,67 @@ +uuid: 384b06d1-9b21-4cb4-ba8e-243f4e21ef2a +langcode: en +status: true +dependencies: + config: + - search_api.index.learning_material + - views.view.learning_materials + module: + - search_api +id: reading_time +name: 'Reading time' +weight: -1 +min_count: 1 +missing: false +missing_label: others +url_alias: reading_time +facet_source_id: 'search_api:views_block__learning_materials__block_1' +field_identifier: field_reading_time +query_operator: or +hard_limit: 0 +exclude: false +use_hierarchy: false +keep_hierarchy_parents_active: false +hierarchy: + type: taxonomy + config: { } +expand_hierarchy: true +enable_parent_when_child_gets_disabled: false +widget: + type: parc_checkbox + config: + show_numbers: true + soft_limit: '0' + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: 0 + reset_text: 'Show all' + hide_reset_when_no_selection: 0 +empty_behavior: + behavior: none +only_visible_when_facet_source_is_visible: false +show_only_one_result: false +show_title: false +processor_configs: + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + hierarchy_processor: + processor_id: hierarchy_processor + weights: + build: 100 + settings: { } + list_item: + processor_id: list_item + weights: + build: 5 + settings: { } + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } diff --git a/config/sync/facets.facet.related_topics.yml b/config/sync/facets.facet.related_topics.yml new file mode 100644 index 00000000..e97f7e56 --- /dev/null +++ b/config/sync/facets.facet.related_topics.yml @@ -0,0 +1,112 @@ +uuid: 4b6ae259-8bad-4535-b29f-b059ef03a889 +langcode: en +status: true +dependencies: + config: + - search_api.index.learning_material + - views.view.learning_materials + module: + - search_api +id: related_topics +name: 'Related topics' +weight: -1 +min_count: 1 +missing: false +missing_label: others +url_alias: related_topics +facet_source_id: 'search_api:views_block__learning_materials__block_1' +field_identifier: field_course_topics +query_operator: or +hard_limit: 0 +exclude: false +use_hierarchy: false +keep_hierarchy_parents_active: false +hierarchy: + type: taxonomy + config: { } +expand_hierarchy: true +enable_parent_when_child_gets_disabled: false +widget: + type: parc_checkbox + config: + show_numbers: true + soft_limit: '0' + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: 0 + reset_text: 'Show all' + hide_reset_when_no_selection: 0 +empty_behavior: + behavior: none +only_visible_when_facet_source_is_visible: false +show_only_one_result: false +show_title: false +processor_configs: + dependent_processor: + processor_id: dependent_processor + weights: + build: 5 + settings: + accessiblity: + enable: false + condition: null + values: '' + negate: false + course_date: + enable: false + condition: null + values: '' + negate: false + domain_of_interest: + enable: true + condition: not_empty + values: '' + negate: false + level_of_expertise: + enable: false + condition: null + values: '' + negate: false + reading_time: + enable: false + condition: null + values: '' + negate: false + stakeholder: + enable: false + condition: null + values: '' + negate: false + substance_groups: + enable: false + condition: null + values: '' + negate: false + type_of_education_training_material: + enable: false + condition: null + values: '' + negate: false + hierarchy_processor: + processor_id: hierarchy_processor + weights: + build: 100 + settings: { } + term_weight_widget_order: + processor_id: term_weight_widget_order + weights: + sort: 60 + settings: + sort: ASC + translate_entity: + processor_id: translate_entity + weights: + build: 5 + settings: { } + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } diff --git a/config/sync/facets.facet.stakeholder.yml b/config/sync/facets.facet.stakeholder.yml new file mode 100644 index 00000000..228182dd --- /dev/null +++ b/config/sync/facets.facet.stakeholder.yml @@ -0,0 +1,67 @@ +uuid: 1cd6e719-209f-4eef-9566-1b1499a35c73 +langcode: en +status: true +dependencies: + config: + - search_api.index.learning_material + - views.view.learning_materials + module: + - search_api +id: stakeholder +name: Stakeholder +weight: -1 +min_count: 1 +missing: false +missing_label: others +url_alias: stakeholder +facet_source_id: 'search_api:views_block__learning_materials__block_1' +field_identifier: field_course_stakeholder +query_operator: or +hard_limit: 0 +exclude: false +use_hierarchy: false +keep_hierarchy_parents_active: false +hierarchy: + type: taxonomy + config: { } +expand_hierarchy: true +enable_parent_when_child_gets_disabled: false +widget: + type: parc_checkbox + config: + show_numbers: true + soft_limit: '0' + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: 0 + reset_text: 'Show all' + hide_reset_when_no_selection: 0 +empty_behavior: + behavior: none +only_visible_when_facet_source_is_visible: false +show_only_one_result: false +show_title: false +processor_configs: + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + hierarchy_processor: + processor_id: hierarchy_processor + weights: + build: 100 + settings: { } + list_item: + processor_id: list_item + weights: + build: 5 + settings: { } + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } diff --git a/config/sync/facets.facet.substance_groups.yml b/config/sync/facets.facet.substance_groups.yml new file mode 100644 index 00000000..e02e7e21 --- /dev/null +++ b/config/sync/facets.facet.substance_groups.yml @@ -0,0 +1,67 @@ +uuid: ecdc6fcb-cf5b-4a61-810b-bb6a812fcbfd +langcode: en +status: true +dependencies: + config: + - search_api.index.learning_material + - views.view.learning_materials + module: + - search_api +id: substance_groups +name: 'Course substance group' +weight: -1 +min_count: 1 +missing: false +missing_label: others +url_alias: substance_group +facet_source_id: 'search_api:views_block__learning_materials__block_1' +field_identifier: field_substance_group +query_operator: or +hard_limit: 0 +exclude: false +use_hierarchy: false +keep_hierarchy_parents_active: false +hierarchy: + type: taxonomy + config: { } +expand_hierarchy: true +enable_parent_when_child_gets_disabled: false +widget: + type: parc_checkbox + config: + show_numbers: true + soft_limit: '0' + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: 0 + reset_text: 'Show all' + hide_reset_when_no_selection: 0 +empty_behavior: + behavior: none +only_visible_when_facet_source_is_visible: false +show_only_one_result: false +show_title: false +processor_configs: + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + hierarchy_processor: + processor_id: hierarchy_processor + weights: + build: 100 + settings: { } + translate_entity: + processor_id: translate_entity + weights: + build: 5 + settings: { } + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } diff --git a/config/sync/facets.facet.type_of_education_training_material.yml b/config/sync/facets.facet.type_of_education_training_material.yml new file mode 100644 index 00000000..b05c2e40 --- /dev/null +++ b/config/sync/facets.facet.type_of_education_training_material.yml @@ -0,0 +1,67 @@ +uuid: c9f4cc30-25fe-4f08-8a3c-483a839ba727 +langcode: en +status: true +dependencies: + config: + - search_api.index.learning_material + - views.view.learning_materials + module: + - search_api +id: type_of_education_training_material +name: 'Type of education/Training material' +weight: -1 +min_count: 1 +missing: false +missing_label: others +url_alias: type_of_education_training_material +facet_source_id: 'search_api:views_block__learning_materials__block_1' +field_identifier: field_course_type +query_operator: or +hard_limit: 0 +exclude: false +use_hierarchy: false +keep_hierarchy_parents_active: false +hierarchy: + type: taxonomy + config: { } +expand_hierarchy: true +enable_parent_when_child_gets_disabled: false +widget: + type: parc_checkbox + config: + show_numbers: true + soft_limit: '0' + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: 0 + reset_text: 'Show all' + hide_reset_when_no_selection: 0 +empty_behavior: + behavior: none +only_visible_when_facet_source_is_visible: false +show_only_one_result: false +show_title: false +processor_configs: + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + hierarchy_processor: + processor_id: hierarchy_processor + weights: + build: 100 + settings: { } + list_item: + processor_id: list_item + weights: + build: 5 + settings: { } + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } diff --git a/config/sync/facets.facet_source.search_api__views_block__learning_materials__block_1.yml b/config/sync/facets.facet_source.search_api__views_block__learning_materials__block_1.yml new file mode 100644 index 00000000..13e7c1f2 --- /dev/null +++ b/config/sync/facets.facet_source.search_api__views_block__learning_materials__block_1.yml @@ -0,0 +1,9 @@ +uuid: 9fbf0e9c-09c1-4913-bc1f-d7086e57adb9 +langcode: en +status: true +dependencies: { } +id: search_api__views_block__learning_materials__block_1 +name: 'search_api:views_block__learning_materials__block_1' +filter_key: null +url_processor: query_string +breadcrumb: { } diff --git a/config/sync/field.field.node.learning_material.body.yml b/config/sync/field.field.node.learning_material.body.yml new file mode 100644 index 00000000..5fcb448f --- /dev/null +++ b/config/sync/field.field.node.learning_material.body.yml @@ -0,0 +1,26 @@ +uuid: e3a7dd40-ca3f-46a2-968c-914c89eed832 +langcode: en +status: true +dependencies: + config: + - field.storage.node.body + - filter.format.full_html + - node.type.learning_material + module: + - text +id: node.learning_material.body +field_name: body +entity_type: node +bundle: learning_material +label: Body +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + display_summary: false + required_summary: false + allowed_formats: + - full_html +field_type: text_with_summary diff --git a/config/sync/field.field.node.learning_material.field_course_accessibility.yml b/config/sync/field.field.node.learning_material.field_course_accessibility.yml new file mode 100644 index 00000000..9514199c --- /dev/null +++ b/config/sync/field.field.node.learning_material.field_course_accessibility.yml @@ -0,0 +1,21 @@ +uuid: 2d0aa752-ea1a-40ca-81a3-7259a9014dfb +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_course_accessibility + - node.type.learning_material + module: + - options +id: node.learning_material.field_course_accessibility +field_name: field_course_accessibility +entity_type: node +bundle: learning_material +label: 'Accessiblity ' +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/config/sync/field.field.node.learning_material.field_course_stakeholder.yml b/config/sync/field.field.node.learning_material.field_course_stakeholder.yml new file mode 100644 index 00000000..46d78757 --- /dev/null +++ b/config/sync/field.field.node.learning_material.field_course_stakeholder.yml @@ -0,0 +1,21 @@ +uuid: d06416cb-4808-40e3-b21a-3c7a2b341f3b +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_course_stakeholder + - node.type.learning_material + module: + - options +id: node.learning_material.field_course_stakeholder +field_name: field_course_stakeholder +entity_type: node +bundle: learning_material +label: Stakeholder +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/config/sync/field.field.node.learning_material.field_course_topics.yml b/config/sync/field.field.node.learning_material.field_course_topics.yml new file mode 100644 index 00000000..645fa5e2 --- /dev/null +++ b/config/sync/field.field.node.learning_material.field_course_topics.yml @@ -0,0 +1,29 @@ +uuid: b8e3d513-a305-4b3c-9ead-ac3f313e8a7b +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_course_topics + - node.type.learning_material + - taxonomy.vocabulary.course_topics +id: node.learning_material.field_course_topics +field_name: field_course_topics +entity_type: node +bundle: learning_material +label: 'Related topics' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + course_topics: course_topics + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.field.node.learning_material.field_course_type.yml b/config/sync/field.field.node.learning_material.field_course_type.yml new file mode 100644 index 00000000..c4fb4a6a --- /dev/null +++ b/config/sync/field.field.node.learning_material.field_course_type.yml @@ -0,0 +1,21 @@ +uuid: 0705d670-5564-4c37-b85d-3af7b921553c +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_course_type + - node.type.learning_material + module: + - options +id: node.learning_material.field_course_type +field_name: field_course_type +entity_type: node +bundle: learning_material +label: 'Type of education/Training material' +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/config/sync/field.field.node.learning_material.field_d_date.yml b/config/sync/field.field.node.learning_material.field_d_date.yml new file mode 100644 index 00000000..e08df1b8 --- /dev/null +++ b/config/sync/field.field.node.learning_material.field_d_date.yml @@ -0,0 +1,24 @@ +uuid: 576760eb-a1e4-4fa1-9200-c9d76caa0560 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_d_date + - node.type.learning_material + module: + - datetime +id: node.learning_material.field_d_date +field_name: field_d_date +entity_type: node +bundle: learning_material +label: Date +description: '' +required: false +translatable: false +default_value: + - + default_date_type: now + default_date: now +default_value_callback: '' +settings: { } +field_type: datetime diff --git a/config/sync/field.field.node.learning_material.field_domains_of_interest.yml b/config/sync/field.field.node.learning_material.field_domains_of_interest.yml new file mode 100644 index 00000000..95fa1a49 --- /dev/null +++ b/config/sync/field.field.node.learning_material.field_domains_of_interest.yml @@ -0,0 +1,29 @@ +uuid: a36ad5b6-1470-4af9-8843-ede970915fc8 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_domains_of_interest + - node.type.learning_material + - taxonomy.vocabulary.course_domains_of_interest +id: node.learning_material.field_domains_of_interest +field_name: field_domains_of_interest +entity_type: node +bundle: learning_material +label: 'Domain of interest' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + course_domains_of_interest: course_domains_of_interest + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.field.node.learning_material.field_expertise.yml b/config/sync/field.field.node.learning_material.field_expertise.yml new file mode 100644 index 00000000..3fb5996e --- /dev/null +++ b/config/sync/field.field.node.learning_material.field_expertise.yml @@ -0,0 +1,21 @@ +uuid: ed76c33e-85af-4082-9ddf-af0df3c7cd5c +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_expertise + - node.type.learning_material + module: + - options +id: node.learning_material.field_expertise +field_name: field_expertise +entity_type: node +bundle: learning_material +label: 'Level of expertise' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/config/sync/field.field.node.learning_material.field_external_url.yml b/config/sync/field.field.node.learning_material.field_external_url.yml new file mode 100644 index 00000000..eb6e839a --- /dev/null +++ b/config/sync/field.field.node.learning_material.field_external_url.yml @@ -0,0 +1,23 @@ +uuid: 616f7c6e-16de-4411-96a3-6eec09573edf +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_external_url + - node.type.learning_material + module: + - link +id: node.learning_material.field_external_url +field_name: field_external_url +entity_type: node +bundle: learning_material +label: 'External link' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + title: 0 + link_type: 16 +field_type: link diff --git a/config/sync/field.field.node.learning_material.field_owner.yml b/config/sync/field.field.node.learning_material.field_owner.yml new file mode 100644 index 00000000..b6370675 --- /dev/null +++ b/config/sync/field.field.node.learning_material.field_owner.yml @@ -0,0 +1,19 @@ +uuid: d83af5d1-1957-48b9-8c62-e7166511616a +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_owner + - node.type.learning_material +id: node.learning_material.field_owner +field_name: field_owner +entity_type: node +bundle: learning_material +label: Owner +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.node.learning_material.field_reading_time.yml b/config/sync/field.field.node.learning_material.field_reading_time.yml new file mode 100644 index 00000000..dac0f376 --- /dev/null +++ b/config/sync/field.field.node.learning_material.field_reading_time.yml @@ -0,0 +1,21 @@ +uuid: 6eaf218f-9698-464d-8e0c-a4e24dc16d7a +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_reading_time + - node.type.learning_material + module: + - options +id: node.learning_material.field_reading_time +field_name: field_reading_time +entity_type: node +bundle: learning_material +label: 'Reading time' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/config/sync/field.field.node.learning_material.field_substance_group.yml b/config/sync/field.field.node.learning_material.field_substance_group.yml new file mode 100644 index 00000000..d5bf3b23 --- /dev/null +++ b/config/sync/field.field.node.learning_material.field_substance_group.yml @@ -0,0 +1,29 @@ +uuid: 78d6312c-3aa5-4491-88f4-c45f4657d947 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_substance_group + - node.type.learning_material + - taxonomy.vocabulary.substance_groups +id: node.learning_material.field_substance_group +field_name: field_substance_group +entity_type: node +bundle: learning_material +label: 'Substance group' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + substance_groups: substance_groups + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.field.taxonomy_term.course_domains_of_interest.field_color.yml b/config/sync/field.field.taxonomy_term.course_domains_of_interest.field_color.yml new file mode 100644 index 00000000..7e0a6597 --- /dev/null +++ b/config/sync/field.field.taxonomy_term.course_domains_of_interest.field_color.yml @@ -0,0 +1,22 @@ +uuid: 71d8287e-f698-4ee0-8681-d20b2b23f29d +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_color + - taxonomy.vocabulary.course_domains_of_interest + module: + - color_field +id: taxonomy_term.course_domains_of_interest.field_color +field_name: field_color +entity_type: taxonomy_term +bundle: course_domains_of_interest +label: Color +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + opacity: 0 +field_type: color_field_type diff --git a/config/sync/field.field.taxonomy_term.course_topics.field_color.yml b/config/sync/field.field.taxonomy_term.course_topics.field_color.yml new file mode 100644 index 00000000..e575c402 --- /dev/null +++ b/config/sync/field.field.taxonomy_term.course_topics.field_color.yml @@ -0,0 +1,22 @@ +uuid: 94864abd-f870-43cd-be9b-72dea8f5c25e +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_color + - taxonomy.vocabulary.course_topics + module: + - color_field +id: taxonomy_term.course_topics.field_color +field_name: field_color +entity_type: taxonomy_term +bundle: course_topics +label: Color +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + opacity: 0 +field_type: color_field_type diff --git a/config/sync/field.storage.node.field_course_accessibility.yml b/config/sync/field.storage.node.field_course_accessibility.yml new file mode 100644 index 00000000..46433b3b --- /dev/null +++ b/config/sync/field.storage.node.field_course_accessibility.yml @@ -0,0 +1,30 @@ +uuid: d6f9a520-62d1-467e-b038-8f9908a4f17b +langcode: en +status: true +dependencies: + module: + - node + - options +id: node.field_course_accessibility +field_name: field_course_accessibility +entity_type: node +type: list_string +settings: + allowed_values: + - + value: free_of_charge + label: 'Free of charge' + - + value: registration_needed + label: 'Registration needed' + - + value: paid_fee_subscribtion + label: Paid/fee/subscribtion + allowed_values_function: '' +module: options +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_course_stakeholder.yml b/config/sync/field.storage.node.field_course_stakeholder.yml new file mode 100644 index 00000000..23e1591a --- /dev/null +++ b/config/sync/field.storage.node.field_course_stakeholder.yml @@ -0,0 +1,39 @@ +uuid: d359e6af-9785-4c32-8909-78b1c84cd216 +langcode: en +status: true +dependencies: + module: + - node + - options +id: node.field_course_stakeholder +field_name: field_course_stakeholder +entity_type: node +type: list_string +settings: + allowed_values: + - + value: education + label: Education + - + value: industry + label: Industry + - + value: regulation_policy + label: Regulation/policy + - + value: academia + label: Academia + - + value: ngos + label: NGOs + - + value: consultants + label: Consultants + allowed_values_function: '' +module: options +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_course_topics.yml b/config/sync/field.storage.node.field_course_topics.yml new file mode 100644 index 00000000..3bedc47a --- /dev/null +++ b/config/sync/field.storage.node.field_course_topics.yml @@ -0,0 +1,20 @@ +uuid: 0bb08603-16b1-4753-94d1-05b65e51844a +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +id: node.field_course_topics +field_name: field_course_topics +entity_type: node +type: entity_reference +settings: + target_type: taxonomy_term +module: core +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_course_type.yml b/config/sync/field.storage.node.field_course_type.yml new file mode 100644 index 00000000..8bb83647 --- /dev/null +++ b/config/sync/field.storage.node.field_course_type.yml @@ -0,0 +1,42 @@ +uuid: a692991c-8477-47fa-a914-ae290fe599b7 +langcode: en +status: true +dependencies: + module: + - node + - options +id: node.field_course_type +field_name: field_course_type +entity_type: node +type: list_string +settings: + allowed_values: + - + value: presentation_slides + label: Presentation/slides + - + value: video + label: Video + - + value: brochure + label: Brochure/report/e-book + - + value: webinar + label: Webinar + - + value: course + label: Course + - + value: e_learning_tool + label: 'E-learning tool' + - + value: training_library + label: 'Training library' + allowed_values_function: '' +module: options +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_domains_of_interest.yml b/config/sync/field.storage.node.field_domains_of_interest.yml new file mode 100644 index 00000000..d7fff475 --- /dev/null +++ b/config/sync/field.storage.node.field_domains_of_interest.yml @@ -0,0 +1,20 @@ +uuid: 567a02a9-d17f-4f26-8f5b-9658c0f88ec7 +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +id: node.field_domains_of_interest +field_name: field_domains_of_interest +entity_type: node +type: entity_reference +settings: + target_type: taxonomy_term +module: core +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_expertise.yml b/config/sync/field.storage.node.field_expertise.yml new file mode 100644 index 00000000..0902ae79 --- /dev/null +++ b/config/sync/field.storage.node.field_expertise.yml @@ -0,0 +1,30 @@ +uuid: c450b061-84cc-4afd-975b-fff4c774cf8a +langcode: en +status: true +dependencies: + module: + - node + - options +id: node.field_expertise +field_name: field_expertise +entity_type: node +type: list_string +settings: + allowed_values: + - + value: beginner + label: Beginner + - + value: intermediate + label: Intermediate + - + value: advanced + label: Advanced + allowed_values_function: '' +module: options +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_external_url.yml b/config/sync/field.storage.node.field_external_url.yml new file mode 100644 index 00000000..f6e2f570 --- /dev/null +++ b/config/sync/field.storage.node.field_external_url.yml @@ -0,0 +1,19 @@ +uuid: 81a748e0-e27c-4eff-a7b1-8d08f3472ea4 +langcode: en +status: true +dependencies: + module: + - link + - node +id: node.field_external_url +field_name: field_external_url +entity_type: node +type: link +settings: { } +module: link +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_owner.yml b/config/sync/field.storage.node.field_owner.yml new file mode 100644 index 00000000..ade2ea64 --- /dev/null +++ b/config/sync/field.storage.node.field_owner.yml @@ -0,0 +1,21 @@ +uuid: 8eac205b-dbb8-4848-bd4d-ae70f53a1a76 +langcode: en +status: true +dependencies: + module: + - node +id: node.field_owner +field_name: field_owner +entity_type: node +type: string +settings: + max_length: 255 + case_sensitive: false + is_ascii: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_reading_time.yml b/config/sync/field.storage.node.field_reading_time.yml new file mode 100644 index 00000000..03338e66 --- /dev/null +++ b/config/sync/field.storage.node.field_reading_time.yml @@ -0,0 +1,33 @@ +uuid: 756f9e3a-3bbe-47c3-a936-e55b7e472841 +langcode: en +status: true +dependencies: + module: + - node + - options +id: node.field_reading_time +field_name: field_reading_time +entity_type: node +type: list_string +settings: + allowed_values: + - + value: 0_60_minutes + label: '0-60 minutes' + - + value: 1_4_hr + label: '1-4 hr' + - + value: 1_day + label: '1 day' + - + value: more_than_1_day + label: 'More than 1 day' + allowed_values_function: '' +module: options +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/node.type.learning_material.yml b/config/sync/node.type.learning_material.yml new file mode 100644 index 00000000..e030907e --- /dev/null +++ b/config/sync/node.type.learning_material.yml @@ -0,0 +1,18 @@ +uuid: d450bbff-ccb6-4d20-92af-38d33d87fc57 +langcode: en +status: true +dependencies: + module: + - menu_ui +third_party_settings: + menu_ui: + available_menus: + - main + parent: 'main:' +name: 'Learning material' +type: learning_material +description: null +help: null +new_revision: true +preview_mode: 1 +display_submitted: false diff --git a/config/sync/rabbit_hole.behavior_settings.node_type_learning_material.yml b/config/sync/rabbit_hole.behavior_settings.node_type_learning_material.yml new file mode 100644 index 00000000..d5417c47 --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.node_type_learning_material.yml @@ -0,0 +1,14 @@ +uuid: f38b9a91-0417-46ba-bf9b-ffbf9b5aac8e +langcode: en +status: true +dependencies: + config: + - node.type.learning_material +id: node_type_learning_material +entity_type_id: node_type +entity_id: learning_material +action: display_page +allow_override: 1 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_course_domains_of_interest.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_course_domains_of_interest.yml new file mode 100644 index 00000000..5251d74e --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_course_domains_of_interest.yml @@ -0,0 +1,14 @@ +uuid: 6a799607-8163-40cf-bfad-d9a4588dc711 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.course_domains_of_interest +id: taxonomy_vocabulary_course_domains_of_interest +entity_type_id: taxonomy_vocabulary +entity_id: course_domains_of_interest +action: display_page +allow_override: 1 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_course_topics.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_course_topics.yml new file mode 100644 index 00000000..039ca7ee --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_course_topics.yml @@ -0,0 +1,14 @@ +uuid: 9c156655-9c45-4be6-b720-d211645c6c71 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.course_topics +id: taxonomy_vocabulary_course_topics +entity_type_id: taxonomy_vocabulary +entity_id: course_topics +action: display_page +allow_override: 1 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/config/sync/search_api.index.learning_material.yml b/config/sync/search_api.index.learning_material.yml new file mode 100644 index 00000000..0b99efcd --- /dev/null +++ b/config/sync/search_api.index.learning_material.yml @@ -0,0 +1,119 @@ +uuid: 2ad6b95d-d95b-455b-b487-3b4973eb3f42 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_course_accessibility + - field.storage.node.field_course_stakeholder + - field.storage.node.field_course_topics + - field.storage.node.field_course_type + - field.storage.node.field_d_date + - field.storage.node.field_domains_of_interest + - field.storage.node.field_expertise + - field.storage.node.field_reading_time + - field.storage.node.field_substance_group + - search_api.server.database + module: + - node +id: learning_material +name: 'Learning material' +description: '' +read_only: false +field_settings: + field_course_accessibility: + label: 'Accessiblity ' + datasource_id: 'entity:node' + property_path: field_course_accessibility + type: string + dependencies: + config: + - field.storage.node.field_course_accessibility + field_course_stakeholder: + label: Stakeholder + datasource_id: 'entity:node' + property_path: field_course_stakeholder + type: string + dependencies: + config: + - field.storage.node.field_course_stakeholder + field_course_topics: + label: 'Related topics' + datasource_id: 'entity:node' + property_path: field_course_topics + type: integer + dependencies: + config: + - field.storage.node.field_course_topics + field_course_type: + label: 'Type of education/Training material' + datasource_id: 'entity:node' + property_path: field_course_type + type: string + dependencies: + config: + - field.storage.node.field_course_type + field_d_date: + label: Date + datasource_id: 'entity:node' + property_path: field_d_date + type: date + dependencies: + config: + - field.storage.node.field_d_date + field_domains_of_interest: + label: 'Domain of interest' + datasource_id: 'entity:node' + property_path: field_domains_of_interest + type: integer + dependencies: + config: + - field.storage.node.field_domains_of_interest + field_expertise: + label: 'Level of expertise' + datasource_id: 'entity:node' + property_path: field_expertise + type: string + dependencies: + config: + - field.storage.node.field_expertise + field_reading_time: + label: 'Reading time' + datasource_id: 'entity:node' + property_path: field_reading_time + type: string + dependencies: + config: + - field.storage.node.field_reading_time + field_substance_group: + label: 'Substance group' + datasource_id: 'entity:node' + property_path: field_substance_group + type: integer + dependencies: + config: + - field.storage.node.field_substance_group +datasource_settings: + 'entity:node': + bundles: + default: false + selected: + - learning_material + languages: + default: true + selected: { } +processor_settings: + add_url: { } + aggregated_field: { } + custom_value: { } + entity_type: { } + language_with_fallback: { } + rendered_item: { } +tracker_settings: + default: + indexing_order: fifo +options: + cron_limit: 50 + delete_on_fail: true + index_directly: true + track_changes_in_references: true +server: database diff --git a/config/sync/simple_sitemap_engines.bundle_settings.node.learning_material.yml b/config/sync/simple_sitemap_engines.bundle_settings.node.learning_material.yml new file mode 100644 index 00000000..405c2433 --- /dev/null +++ b/config/sync/simple_sitemap_engines.bundle_settings.node.learning_material.yml @@ -0,0 +1 @@ +index_now: false diff --git a/config/sync/simple_sitemap_engines.bundle_settings.taxonomy_term.course_domains_of_interest.yml b/config/sync/simple_sitemap_engines.bundle_settings.taxonomy_term.course_domains_of_interest.yml new file mode 100644 index 00000000..405c2433 --- /dev/null +++ b/config/sync/simple_sitemap_engines.bundle_settings.taxonomy_term.course_domains_of_interest.yml @@ -0,0 +1 @@ +index_now: false diff --git a/config/sync/simple_sitemap_engines.bundle_settings.taxonomy_term.course_topics.yml b/config/sync/simple_sitemap_engines.bundle_settings.taxonomy_term.course_topics.yml new file mode 100644 index 00000000..405c2433 --- /dev/null +++ b/config/sync/simple_sitemap_engines.bundle_settings.taxonomy_term.course_topics.yml @@ -0,0 +1 @@ +index_now: false diff --git a/config/sync/taxonomy.vocabulary.course_domains_of_interest.yml b/config/sync/taxonomy.vocabulary.course_domains_of_interest.yml new file mode 100644 index 00000000..e5bdea3e --- /dev/null +++ b/config/sync/taxonomy.vocabulary.course_domains_of_interest.yml @@ -0,0 +1,9 @@ +uuid: ba2f5798-ec4b-4e99-8201-9520a9cc7936 +langcode: en +status: true +dependencies: { } +name: '[Learning materials] Domains of interest' +vid: course_domains_of_interest +description: null +weight: 0 +new_revision: false diff --git a/config/sync/taxonomy.vocabulary.course_topics.yml b/config/sync/taxonomy.vocabulary.course_topics.yml new file mode 100644 index 00000000..01ab80a6 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.course_topics.yml @@ -0,0 +1,9 @@ +uuid: dcf31661-175b-4b40-bb38-18e4e48c190a +langcode: en +status: true +dependencies: { } +name: '[Learning materials] Topics' +vid: course_topics +description: null +weight: 0 +new_revision: false diff --git a/config/sync/views.view.learning_materials.yml b/config/sync/views.view.learning_materials.yml new file mode 100644 index 00000000..086d45e3 --- /dev/null +++ b/config/sync/views.view.learning_materials.yml @@ -0,0 +1,190 @@ +uuid: 2f5c0b21-b705-430f-8131-4f1b20da865c +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_course_accessibility + - search_api.index.learning_material + module: + - options + - search_api +id: learning_materials +label: 'Learning materials' +module: views +description: '' +tag: '' +base_table: search_api_index_learning_material +base_field: search_api_id +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + title: 'Learning materials' + fields: + field_course_accessibility: + id: field_course_accessibility + table: search_api_index_learning_material + field: field_course_accessibility + relationship: none + group_type: group + admin_label: '' + entity_type: null + entity_field: null + plugin_id: search_api_field + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: list_default + settings: { } + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + field_rendering: true + fallback_handler: search_api + fallback_options: + link_to_item: false + use_highlighting: false + multi_type: separator + multi_separator: ', ' + pager: + type: none + options: + offset: 0 + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: none + options: { } + cache: + type: search_api_none + options: { } + empty: + area_text_custom: + id: area_text_custom + table: views + field: area_text_custom + relationship: none + group_type: group + admin_label: '' + plugin_id: text_custom + empty: true + content: 'No results found' + tokenize: false + sorts: { } + arguments: { } + filters: { } + style: + type: default + options: + row_class: '' + default_row_class: true + uses_fields: false + row: + type: search_api + options: + view_modes: + 'entity:node': + learning_material: card_item + query: + type: search_api_query + options: + bypass_access: false + skip_access: false + preserve_facet_query_args: false + query_tags: { } + relationships: { } + use_ajax: true + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - 'user.node_grants:view' + tags: + - 'config:field.storage.node.field_course_accessibility' + - 'config:search_api.index.learning_material' + - 'search_api_list:learning_material' + block_1: + id: block_1 + display_title: Block + display_plugin: block + position: 1 + display_options: + display_extenders: + ajax_history: + enable_history: false + exclude_args: '' + simple_sitemap_display_extender: { } + metatag_display_extender: + metatags: { } + tokenize: false + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - 'user.node_grants:view' + tags: + - 'config:field.storage.node.field_course_accessibility' + - 'config:search_api.index.learning_material' + - 'search_api_list:learning_material' diff --git a/web/modules/custom/parc_core/data/courses.csv b/web/modules/custom/parc_core/data/courses.csv new file mode 100755 index 00000000..e90005a3 --- /dev/null +++ b/web/modules/custom/parc_core/data/courses.csv @@ -0,0 +1,32 @@ +Resource,URL,Domain,Topic,Substance Group,Stakeholder,Type of education/training material,Level of expertise,Reading time,Accessibility,Date of development/publication,Language availability,Owner,Additional remarks,Contribution by +Human Biomonitoring. Basics: educational course,https://iris.who.int/bitstream/handle/10665/368163/9789289060097-eng.pdf?sequence=2,Exposure Assessment,HBM,,education;academia;regulation_policy,brochure ,,1_4_hr ,free_of_charge ,15.06.2023,EN only,World Health Organization. Regional Office for Europe,,INSA (PT) +How to FAIR: a website to guide researchers on making research data more FAIR,https://www.howtofair.dk/what-is-fair/,FAIR data and data management,FAIR,,academia,e_learning_tool ,beginner,1_4_hr ,free_of_charge ,30.06.2020,EN only," Danish National Forum for Research Data Management, with support from Denmark's Electronic Research Library (DEFF) and the Danish e-Infrastructure Cooperation (DeiC).",,INSA (PT) +HHEAR Exposomics Webinar Series,https://www.youtube.com/playlist?list=PLlo0xQLFI54HQCi7lB4-dh7OpD2EEo-KW,Exposure Assessment;Hazard and risk,,,academia,training_library ,advanced,more_than_1_day ,free_of_charge ,01.03.2022,EN only,"Human Health Exposure Analysis Resource (HHEAR), NIEHS",,INSA (PT) +Chemical contaminants in food and feed,https://www.efsa.europa.eu/en/topics/topic/chemical-contaminants-food-feed,Policy and regulation,Regulatory Policy Frameworks,,industry;regulation_policy;consultants;ngos,brochure ,beginner,0_60_minutes ,free_of_charge ,04.09.2024,EN only,EFSA,Latest topics on Chemical contaminants in food and feed with information on links to latest news published on these topics; legislation and general information of major contaminants,INSA (PT) +Data analysis using the R language for statistical computing-Lecture 1 (Part 1),https://youtu.be/fxmF4P_O_2c?si=uMxQCdUzODSNCHcJ,Statistics,,,education;academia,course,beginner,1_4_hr ,free_of_charge ,04/30/21,EN only,Humboldt University organized and lectured by Dr Danny Arends,"This is a live-stream recording included in a 50+ hour MSc and PhD lecture series: ""Data analysis using the R language for statistical computing"", given digitally during the Covid19 pandemic at the Humboldt University in Berlin organized and lectured by Dr Danny Arends.",INSA (PT) +IUCLID for Applicants,https://zenodo.org/records/4626979#.YHSATGQzaUm,Policy and regulation,Regulatory Policy Frameworks,,industry;regulation_policy;consultants,e_learning_tool ,beginner,more_than_1_day ,free_of_charge ,22.03.2021,EN only,EFSA,"EFSA: IUCLID Training for applicants (sessions 18/3 & 22/3). IUCLID stands for ""International Uniform Chemical Information Database."" It's a software application used to create, store, and exchange data on intrinsic and hazard properties of chemical substances. It's a crucial tool for regulatory bodies, such as EFSA (European Food Safety Authority), for the evaluation of chemical substances used in various applications, including food safety.",INSA (PT) +"Clearing some of the highest FAIR hurdles: PIDs, Metadata, and Semantic Interoperability for Researchers (2021)",https://youtu.be/-n6DvGucYXQ,FAIR data and data management,FAIR,,academia,webinar,beginner,1_4_hr ,free_of_charge ,02/04/21,EN only,FAIRsFAIR EU,FAIRsFAIR webinar series aims at enabling sustainable technical implementation of the FAIR principles. FAIRsFAIR invites researchers to a presentation of the essential techniques to adopt in making data FAIR.,INSA (PT) +FAIRsFAIR webinar: Persistence and interoperability in FAIR research data management (2020),https://youtu.be/qCDuHPhEscE,FAIR data and data management,FAIR,,academia,webinar,beginner,1_4_hr ,free_of_charge ,02/11/20,EN only,FAIRsFAIR EU,"FAIRsFAIR webinar: The main principles of FAIR data (findable, accessible, interoperable and reusable) have received wide acceptance in scientific data management circles, the webinar present the main findings of FAIRsFAIR EU regarding ""Persistence and interoperability in FAIR research data management""",INSA (PT) +Rapid Assessment of Contaminant Exposure (RACE) tool (2020),https://www.youtube.com/watch?v=Z0zGKryO5Z0,Hazard and Risk,Risk assessment methods/frameworks,,academia;ngos;consultants;regulation_policy,webinar,beginner,1_4_hr ,free_of_charge ,05/08/20,EN only,EFSA,"Webinar (held on 2020) about the RACE tool. The tool is based on the methodology proposed in the EFSA technical report “Risk evaluation of Chemical contaminants in food in the context of RASFF notifications”, which was published on 15 May 2019. The tool provides estimates of acute and chronic exposure of different population groups to individual food chemical contaminants and compares the result with the health-based guidance value or other relevant toxicological reference points.",INSA (PT) +The importance of risk assessments: A European perspective (2022),https://youtu.be/VjE0miV1oGc?si=57QEQScqpc6RzECg,Hazard and Risk,Risk assessment methods/frameworks,,academia;consultants,webinar,beginner,1_4_hr ,free_of_charge ,11/19/22,EN only,IOSH,"Webinar held in 2022 by IOSH, topics - The importance of risk assessments, who is responsible and what to consider; - How the changing world of work affects risk assessment and requirements of OSH professionals in the face of these changes; - Best practice examples of how risk assessments have been adapted to remain effective",INSA (PT) +EFSA International Workshop on Risk Assessment of Combined Exposure to Multiple Chemicals (2021),https://bit.ly/3iWlJbx,Hazard and Risk,Risk assessment methods/frameworks,,academia;ngos;consultants,webinar,beginner,more_than_1_day ,free_of_charge ,18.10.2021,EN only,EFSA,"This workshop programme held in 2021, included presentations and discussion groups exploring questions on Scientific Criteria for grouping chemicals into assessment groups and future challenges in risk assessment of combined exposure to multiple chemicals (chemical mixtures)",INSA (PT) +Risk communication essentials,https://openwho.org/courses/risk-communication,Policy and regulation,Risk Communication,,education;industry;regulation_policy;academia;ngos;consultants,course,beginner,1_day ,registration_needed ,,"EN, PT, FR, arabic, mandarin",OpenWHO,,INSA (PT) +New developments and regulatory applications of the OECD QSAR Toolbox,https://echa.europa.eu/-/new-developments-and-regulatory-applications-of-the-qsar-toolbox,Hazard and Risk,NAMs,,industry;regulation_policy;academia;ngos,webinar,beginner,1_4_hr ,free_of_charge ,04/28/22,EN only,ECHA,This webinar introduces the QSAR Toolbox together with practical advice on how to use its new and essential features. ,INSA (PT) +QSARs and their assessment under dossier evaluation ,https://echa.europa.eu/-/qsars-and-their-assessment-under-dossier-evaluation,Hazard and Risk,NAMs,,industry;regulation_policy,webinar,intermediate,1_4_hr ,free_of_charge ,06/03/21,EN only,ECHA,"The webinar covers the requirements for the use of QSAR results as adaptations to standard information in REACH registrations, and how ECHA evaluates the compliance of QSAR information. The webinar is particularly addressed to REACH registrants, who may include QSAR results in their registration dossiers and to stakeholders interested in learning about ECHA’s methods on evaluating QSAR results.",INSA (PT) +OECD QSAR Toolbox applications for REACH and beyond ,https://echa.europa.eu/-/oecd-qsar-toolbox-applications-for-reach-and-beyond,Hazard and Risk,NAMs,,industry;regulation_policy;academia;ngos,webinar,intermediate,1_4_hr ,free_of_charge ,11/30/21,EN only,ECHA,The webinar presents the experience of different stakeholders using the QSAR Toolbox.,INSA (PT) +Towards faster regulatory action: ECHA's approach to assessing chemicals in groups ,https://echa.europa.eu/-/towards-faster-regulatory-action-echa-s-approach-to-assessing-chemicals-in-groups,Hazard and Risk,Risk assessment methods/frameworks,,industry;regulation_policy;academia;ngos,webinar,beginner,1_4_hr ,free_of_charge ,10/03/23,EN only,ECHA,"This webinar explains ECHA's approach to assessments of regulatory needs of several substances, upcoming improvements for how to inform registrants about published assessments, and how to react in case their substance is addressed in a group assessment.",INSA (PT) +In Vitro Assays for (Bio)monitoring of Chemical Mixtures u2013 From the Environment to People ,https://www.niehs.nih.gov/news/video/science?video=28976&numVideos=1,Exposure Assessment,NA,,industry;regulation_policy,video,intermediate,0_60_minutes ,free_of_charge ,10/25/22,EN only,National Institute of Environmental Health Sciences,This seminar discusses in vitro tools to assess toxicology of chemical mixtures,INSA (PT) +Clustering and Classification Workshop: Applications to Investigate Adverse Effects of Chemicals on Human Health and Environment,https://www.niehs.nih.gov/news/video/science?video=29086&numVideos=4,Hazard and Risk,Risk assessment methods/frameworks,,regulation_policy;academia;ngos;consultants,webinar,beginner,more_than_1_day ,free_of_charge ,03.10.2022,EN only,National Institute of Environmental Health Sciences,FALTA,INSA (PT) +Improving Mixtures Health Assessments: Combining In Silico with In Vitro / In Vivo Models to Evaluate Co-occurring Contaminant,https://www.niehs.nih.gov/news/video/science?video=27251&numVideos=1,Exposure Assessment,Modelling,Chemicals Mixtures,academia;ngos;consultants,webinar,intermediate,0_60_minutes ,free_of_charge ,03/08/22,EN only,National Institute of Environmental Health Sciences,"Methods to evaluate exposure to combined exposures and chemical mixtures, including computer models",INSA (PT) +NanoHarmony Training Material - From science to standards and harmonised OECD Test Guidelines,https://www.testguideline-development.org/useful-resources#Introduction-OECD-standardisation,Hazard and Risk,Risk assessment methods/frameworks,Advanced (nano)materials,education;academia,presentation_slides ,beginner,1_4_hr ,free_of_charge ,,EN only,NanoHarmony,"The Training Material is divided into 4 different modules, each focussing on a specific topic: 1) Importance of standardised and harmonised methods; 2) The OECD and its relevant committees; 3) OECD documents and Test Guidelines; 4) Process of development of OECD documents.",INSA (PT) +Adverse Outcome Pathways,https://www.youtube.com/watch?v=1h7dYnKRTVI&list=UULFYAz_FJ1iFVrpzB78MHdUXg&index=13,Hazard and Risk,AOPs,,industry;regulation_policy;academia;ngos;consultants,webinar,beginner,0_60_minutes ,free_of_charge ,02/22/22,EN only,EUROTOX,,INSA (PT) +Toxicology and hazard assessment,https://www.youtube.com/watch?v=R4WAoWB0oPw&list=UULFYAz_FJ1iFVrpzB78MHdUXg&index=8,Hazard and Risk,Risk assessment methods/frameworks,,industry;regulation_policy;academia;ngos,webinar,beginner,0-60 minutes,free_of_charge ,03/15/23,EN only,EUROTOX,,INSA (PT) +Applied Industrial Toxicology,https://www.youtube.com/watch?v=NMieDx7cYks&list=UULFYAz_FJ1iFVrpzB78MHdUXg&index=6,Policy and regulation,Regulatory Policy Frameworks,,industry;regulation_policy;academia;ngos;consultants,webinar,intermediate,0-60 minutes,free_of_charge ,11/11/23,EN only,EUROTOX,,INSA (PT) +Navigating Chemical Health Risk Assessment,https://www.youtube.com/watch?v=_Fd9mLNb3r4,Hazard and Risk,Risk assessment methods/frameworks,,industry;regulation_policy;academia;ngos;consultants,webinar,intermediate,0-60 minutes,free_of_charge ,02/21/24,EN only,EUROTOX,, +New approach methods as door-openers for drugs and vaccines or the other way around?,https://www.youtube.com/watch?v=rBxCLx4cbzM&list=UULFYAz_FJ1iFVrpzB78MHdUXg&index=17,Hazard and Risk,NAMs,Other chemicals,industry;regulation_policy;academia;ngos;consultants,webinar,intermediate,0-60 minutes,free_of_charge ,10/02/20,EN only,EUROTOX,,INSA (PT) +The use of Artificial Intelligence in Toxicology,https://www.youtube.com/watch?v=2U3oyyd5SEk&list=UULFYAz_FJ1iFVrpzB78MHdUXg&index=14,Hazard and Risk,Risk assessment methods/frameworks,,industry;regulation_policy;academia;consultants,webinar,intermediate,0-60 minutes,free_of_charge ,01/18/22,EN only,EUROTOX,,INSA (PT) +One Health Approach to Risk Assessment (OHARA),https://www.youtube.com/watch?v=l6NA0fdbaMw,Hazard and Risk,Risk assessment methods/frameworks,,industry;regulation_policy;academia;ngos;consultants,webinar,intermediate,0-60 minutes,free_of_charge ,12/07/23,EN only,National Collaborating Centre for Environmental Health (NCCEH),,INSA (PT) +Next generation physiologically based kinetic modelling: challenges and opportunities,https://www.youtube.com/watch?v=OITpdTzF6-0&list=UULFYAz_FJ1iFVrpzB78MHdUXg&index=10,Hazard and Risk,IVIVE,,regulation_policy;academia;consultants,webinar,intermediate,0-60 minutes,free_of_charge ,05/25/22,EN only,EUROTOX,,INSA (PT) +QSAR and read-across in the assessment of plant protection products,https://www.youtube.com/watch?v=i5tXlb8BPqs&list=UULFYAz_FJ1iFVrpzB78MHdUXg&index=9,Hazard and Risk,Risk assessment methods/frameworks,Pesticides,industry;regulation_policy;academia;consultants,webinar,intermediate,0-60 minutes,free_of_charge ,06/14/22,EN only,EUROTOX,,INSA (PT) +Workshop on gap analysis and data requirements to support Test Guidelines and Guidance Document development,https://www.youtube.com/playlist?list=PLl8XHGDKVfG5q1MTwtywAY_gCtXfMlelS,Hazard and Risk,In vivo Testing ,Advanced (nano)materials,regulation_policy;academia;ngos,video,intermediate,1_4_hr ,free_of_charge ,11/05/20,EN only,NanoHarmony,A series of 14 expert sessions on 11 topics related to ENMs testing,INSA (PT) +EUROTOX Webinar: Exposome toxicology: Combining different types of stressors held earlier today,https://youtu.be/dwewtMbsp4g?si=iDyqTK1xzRPg7O5T,Exposure Assessment;Hazard and Risk;Policy and regulation,Environmental monitoring;Risk assessment methods/frameworks;Chemicals Prioritization,,education;regulation_policy;academia;consultants,webinar,beginner;intermediate,0-60 minutes,free_of_charge ,11/15/24,EN only,EUROTOX,,INSA (PT) diff --git a/web/modules/custom/parc_core/parc_core.deploy.php b/web/modules/custom/parc_core/parc_core.deploy.php index 1d5ab68a..89a5332b 100644 --- a/web/modules/custom/parc_core/parc_core.deploy.php +++ b/web/modules/custom/parc_core/parc_core.deploy.php @@ -825,3 +825,195 @@ function parc_core_deploy_10003() { $result->save(); } } + +/** + * Create training topics. + */ +function parc_core_deploy_10004() { + $terms = [ + 'Ethics framework' => '#008475', + 'Policy and regulation' => '#D87283', + 'Exposure assessment' => '#8B33AE', + 'Hazard and risk ' => '#2CC7B4', + 'FAIR data and data management ' => '#B2984F', + 'Statistics ' => '#0475F9', + 'SSbD ' => '#E45C4D', + ]; + + $weight = 0; + foreach ($terms as $name => $color) { + $term = Term::create([ + 'vid' => 'course_domains_of_interest', + 'name' => $name, + 'field_color' => [ + 'color' => $color, + ], + 'weight' => $weight++, + ]); + $term->save(); + } + + $terms = [ + 'Chemicals Prioritization' => '#D87283', + 'Regulatory Policy Frameworks' => '#D87283', + 'Risk Communication' => '#D87283', + + 'Environmental monitoring' => '#8B33AE', + 'HBM' => '#8B33AE', + 'Innovative' => '#8B33AE', + 'Modelling' => '#8B33AE', + 'QA/QC' => '#8B33AE', + + 'In vivo Testing' => '#2CC7B4', + 'NAMs' => '#2CC7B4', + 'IATAs' => '#2CC7B4', + 'AOPs' => '#2CC7B4', + 'IVIVE' => '#2CC7B4', + 'Risk assessment methods/frameworks' => '#2CC7B4', + + 'FAIR' => '#B2984F', + 'Databases' => '#B2984F', + ]; + $weight = 0; + foreach ($terms as $name => $color) { + $term = Term::create([ + 'vid' => 'course_topics', + 'name' => $name, + 'field_color' => [ + 'color' => $color, + ], + 'weight' => $weight++, + ]); + $term->save(); + } + + $terms = [ + 'Alkaloid', + 'Anilines and MOCA', + 'Care products', + 'DINCH', + 'Glycol Ethers', + 'Advanced (nano)materials', + 'Chemicals Mixtures', + 'Natural Toxins', + 'Pesticides', + 'Volatile Anaesthetics', + 'Volatile Organic Compounds (VOCs)', + ]; + foreach ($terms as $name) { + $term = Term::create([ + 'vid' => 'substance_groups', + 'name' => $name, + ]); + $term->save(); + } +} + +/** + * Import courses. + */ +function parc_core_deploy_10005() { + $courses_path = \Drupal::service('extension.list.module')->getPath('parc_core') . '/data/courses.csv'; + $file = fopen($courses_path, 'r'); + $headers = fgetcsv($file); + $data = []; + while (($row = fgetcsv($file)) !== FALSE) { + $rowData = array_combine($headers, $row); + foreach ($rowData as &$value) { + $value = trim($value); + } + $data[] = $rowData; + } + fclose($file); + + foreach ($data as $row) { + $domains = []; + $term_storage = \Drupal::entityTypeManager()->getStorage('taxonomy_term'); + if (!empty($row['Domain'])) { + foreach (explode(';', $row['Domain']) as $domain) { + $domain = trim($domain); + if (empty($domain)) { + continue; + } + $term = $term_storage->loadByProperties([ + 'name' => $domain, + 'vid' => 'course_domains_of_interest', + ]); + if (empty($term)) { + continue; + } + + $term = reset($term); + $domains[] = $term; + } + } + + $topics = []; + $term_storage = \Drupal::entityTypeManager()->getStorage('taxonomy_term'); + if (!empty($row['Topic'])) { + foreach (explode(';', $row['Topic']) as $topic) { + $topic = trim($topic); + if (empty($topic)) { + continue; + } + $term = $term_storage->loadByProperties([ + 'name' => $topic, + 'vid' => 'course_topics', + ]); + if (empty($term)) { + continue; + } + + $term = reset($term); + $topics[] = $term; + } + } + + $substances = []; + $term_storage = \Drupal::entityTypeManager()->getStorage('taxonomy_term'); + if (!empty($row['Substance Group'])) { + foreach (explode(';', $row['Substance Group']) as $substance) { + $substance = trim($substance); + if (empty($substance)) { + continue; + } + $term = $term_storage->loadByProperties([ + 'name' => $substance, + 'vid' => 'substance_groups', + ]); + if (empty($term)) { + continue; + } + + $term = reset($term); + $substances[] = $term; + } + } + + $node_data = [ + 'type' => 'learning_material', + 'title' => $row['Resource'], + 'field_course_accessibility' => $row['Accessibility'], + 'body' => [ + 'format' => 'full_html', + 'value' => $row['Additional remarks'], + ], + 'field_d_date' => !empty($row['Date of development/publication']) + ? date('Y-m-d', strtotime($row['Date of development/publication'])) + : NULL, + 'field_domains_of_interest' => $domains, + 'field_external_url' => [ + 'uri' => $row['URL'] + ], + 'field_expertise' => explode(';', $row['Level of expertise']), + 'field_owner' => $row['Owner'], + 'field_reading_time' => $row['Reading time'], + 'field_course_topics' => $topics, + 'field_course_stakeholder' => explode(';', $row['Stakeholder']), + 'field_substance_group' => $substances, + 'field_course_type' => $row['Type of education/training material'], + ]; + $node = \Drupal::entityTypeManager()->getStorage('node')->create($node_data); + $node->save(); + } +} diff --git a/web/themes/custom/parc/img/course/brochure.svg b/web/themes/custom/parc/img/course/brochure.svg new file mode 100644 index 00000000..5b79977c --- /dev/null +++ b/web/themes/custom/parc/img/course/brochure.svg @@ -0,0 +1,10 @@ + diff --git a/web/themes/custom/parc/img/course/course.svg b/web/themes/custom/parc/img/course/course.svg new file mode 100644 index 00000000..b9f01ff9 --- /dev/null +++ b/web/themes/custom/parc/img/course/course.svg @@ -0,0 +1,10 @@ + diff --git a/web/themes/custom/parc/img/course/e_learning_tool.svg b/web/themes/custom/parc/img/course/e_learning_tool.svg new file mode 100644 index 00000000..7b4b24a8 --- /dev/null +++ b/web/themes/custom/parc/img/course/e_learning_tool.svg @@ -0,0 +1,14 @@ + diff --git a/web/themes/custom/parc/img/course/presentation_slides.svg b/web/themes/custom/parc/img/course/presentation_slides.svg new file mode 100644 index 00000000..a7637062 --- /dev/null +++ b/web/themes/custom/parc/img/course/presentation_slides.svg @@ -0,0 +1,14 @@ + diff --git a/web/themes/custom/parc/img/course/training_library.svg b/web/themes/custom/parc/img/course/training_library.svg new file mode 100644 index 00000000..6050bd06 --- /dev/null +++ b/web/themes/custom/parc/img/course/training_library.svg @@ -0,0 +1,14 @@ + diff --git a/web/themes/custom/parc/img/course/video.svg b/web/themes/custom/parc/img/course/video.svg new file mode 100644 index 00000000..397a3354 --- /dev/null +++ b/web/themes/custom/parc/img/course/video.svg @@ -0,0 +1,14 @@ + diff --git a/web/themes/custom/parc/img/course/webinar.svg b/web/themes/custom/parc/img/course/webinar.svg new file mode 100644 index 00000000..15a6f203 --- /dev/null +++ b/web/themes/custom/parc/img/course/webinar.svg @@ -0,0 +1,22 @@ + diff --git a/web/themes/custom/parc/parc.libraries.yml b/web/themes/custom/parc/parc.libraries.yml index 82bb3035..476e9b3c 100644 --- a/web/themes/custom/parc/parc.libraries.yml +++ b/web/themes/custom/parc/parc.libraries.yml @@ -298,6 +298,11 @@ n--search-teaser: component: css/components/content/search-teaser/style.css: {} +n--learning-material: + css: + component: + css/components/content/learning-material/style.css: {} + # Block. b--carousel: css: diff --git a/web/themes/custom/parc/parc.theme b/web/themes/custom/parc/parc.theme index 93ef5bf8..ec5a8ee3 100644 --- a/web/themes/custom/parc/parc.theme +++ b/web/themes/custom/parc/parc.theme @@ -263,7 +263,9 @@ function parc_preprocess_facets_item_list(&$variables) { } if ($facet->id() == 'category' - || $facet->id() == 'lab_type') { + || $facet->id() == 'lab_type' + || $facet->id() == 'related_topics' + || $facet->id() == 'domain_of_interest') { $term_storage = \Drupal::entityTypeManager()->getStorage('taxonomy_term'); foreach ($items as $item) { $tid = $item['value']['#title']['#raw_value']; @@ -304,7 +306,9 @@ function parc_preprocess_facets_result_item(&$variables) { if ($term instanceof TermInterface && !empty($term->getDescription())) { $variables['tooltip'] = [ 'text' => $term->getDescription(), - 'background' => $term->get('field_color')->color, + 'background' => $term->hasField('field_color') + ? $term->get('field_color')->color + : NULL, ]; } } @@ -829,3 +833,75 @@ function parc_preprocess_node__project__related(array &$variables) { $variables['colors'] = $colors; $variables['disabled'] = !$node->get('field_show_link')->value; } + +/** + * Implements hook_preprocess_HOOK() for node__learning_material__card_item. + */ +function parc_preprocess_node__learning_material__card_item(array &$variables) { + $node = $variables['node']; + if (!$node instanceof NodeInterface) { + return; + } + + $topic = $node->get('field_domains_of_interest')->entity; + if ($topic instanceof TermInterface) { + $color = $topic->get('field_color')->color; + $variables['bg_color'] = _parc_get_course_color($color, 'background'); + $variables['icon_color'] = _parc_get_course_color($color, 'icon'); + $variables['text_color'] = $color; + } + + $type = $node->get('field_course_type')->value; + if (!empty($type) && !str_contains($type, '/')) { + $icon_path = \Drupal::service('extension.list.theme')->get('parc')->getPath() . "/img/course/$type.svg"; + if (file_exists($icon_path)) { + $variables['icon'] = $icon_path; + } + } +} + +/** + * Get a course color from a topic color. + * + * @param string $topic_color + * The topic color. + * @param string $type + * The color type. + * + * @return string + * The course color. + */ +function _parc_get_course_color(string $topic_color, string $type) { + $colors = [ + '#008475' => [ + 'background' => '#5EB6AB', + 'icon' => '#008475', + ], + '#D87283' => [ + 'background' => '#FBCDD5', + 'icon' => '#F58296', + ], + '#8B33AE' => [ + 'background' => '#E0C7F5', + 'icon' => '#8631A7', + ], + '#2CC7B4' => [ + 'background' => '#B0E5DF', + 'icon' => '#31D9C4', + ], + '#B2984F' => [ + 'background' => '#F4EACA', + 'icon' => '#EAC96E', + ], + '#0475F9' => [ + 'background' => '#AED3FF', + 'icon' => '#7AB7FF', + ], + '#E45C4D' => [ + 'background' => '#F58296', + 'icon' => '#E06558', + ], + ]; + + return $colors[$topic_color][$type] ?? '#000'; +} diff --git a/web/themes/custom/parc/templates/block/block--facets.html.twig b/web/themes/custom/parc/templates/block/block--facets.html.twig index b1a4118f..9411f771 100644 --- a/web/themes/custom/parc/templates/block/block--facets.html.twig +++ b/web/themes/custom/parc/templates/block/block--facets.html.twig @@ -44,10 +44,15 @@ {{ title_prefix }} {% if plugin_id|clean_class == 'facet-blocklab-type' - or plugin_id|clean_class == 'facet-blockcategory' %} + or plugin_id|clean_class == 'facet-blockcategory' + %}