From db4221da3582322dbb561cd7364de72123d883e0 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Mon, 21 Sep 2020 12:10:10 +0200 Subject: [PATCH] created assieted_language vocabulary --- ...axonomy_term.assisted_research.default.yml | 67 +++++++++++++++++++ ...axonomy_term.assisted_research.default.yml | 32 +++++++++ ...omy_term.assisted_research.field_terms.yml | 29 ++++++++ ...ield.storage.taxonomy_term.field_terms.yml | 23 +++++++ ...ttings.taxonomy_term.assisted_research.yml | 16 +++++ .../taxonomy.vocabulary.assisted_research.yml | 8 +++ 6 files changed, 175 insertions(+) create mode 100644 config/sync/core.entity_form_display.taxonomy_term.assisted_research.default.yml create mode 100644 config/sync/core.entity_view_display.taxonomy_term.assisted_research.default.yml create mode 100644 config/sync/field.field.taxonomy_term.assisted_research.field_terms.yml create mode 100644 config/sync/field.storage.taxonomy_term.field_terms.yml create mode 100644 config/sync/language.content_settings.taxonomy_term.assisted_research.yml create mode 100644 config/sync/taxonomy.vocabulary.assisted_research.yml diff --git a/config/sync/core.entity_form_display.taxonomy_term.assisted_research.default.yml b/config/sync/core.entity_form_display.taxonomy_term.assisted_research.default.yml new file mode 100644 index 00000000..9f0e28c6 --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.assisted_research.default.yml @@ -0,0 +1,67 @@ +uuid: 4ae54fb1-8c58-4dff-9fba-15ac7b79e1d6 +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.assisted_research.field_terms + - taxonomy.vocabulary.assisted_research + module: + - path + - text +id: taxonomy_term.assisted_research.default +targetEntityType: taxonomy_term +bundle: assisted_research +mode: default +content: + description: + type: text_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_terms: + weight: 101 + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } + type: entity_reference_autocomplete + region: content + langcode: + type: language_select + weight: 2 + region: content + settings: + include_locked: true + 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: { } + status: + type: boolean_checkbox + settings: + display_label: true + weight: 100 + region: content + third_party_settings: { } + translation: + weight: 10 + settings: { } + third_party_settings: { } + region: content +hidden: { } diff --git a/config/sync/core.entity_view_display.taxonomy_term.assisted_research.default.yml b/config/sync/core.entity_view_display.taxonomy_term.assisted_research.default.yml new file mode 100644 index 00000000..c7970e17 --- /dev/null +++ b/config/sync/core.entity_view_display.taxonomy_term.assisted_research.default.yml @@ -0,0 +1,32 @@ +uuid: 1a4d9023-4449-40df-8f24-1d5ab2affdf5 +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.assisted_research.field_terms + - taxonomy.vocabulary.assisted_research + module: + - text +id: taxonomy_term.assisted_research.default +targetEntityType: taxonomy_term +bundle: assisted_research +mode: default +content: + description: + label: hidden + type: text_default + weight: 0 + region: content + settings: { } + third_party_settings: { } + field_terms: + weight: 1 + label: above + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: content +hidden: + langcode: true + search_api_excerpt: true diff --git a/config/sync/field.field.taxonomy_term.assisted_research.field_terms.yml b/config/sync/field.field.taxonomy_term.assisted_research.field_terms.yml new file mode 100644 index 00000000..2f594306 --- /dev/null +++ b/config/sync/field.field.taxonomy_term.assisted_research.field_terms.yml @@ -0,0 +1,29 @@ +uuid: 31dfa487-8415-42de-978c-df10a6e6cfb4 +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_terms + - taxonomy.vocabulary.assisted_research + - taxonomy.vocabulary.thesaurus +id: taxonomy_term.assisted_research.field_terms +field_name: field_terms +entity_type: taxonomy_term +bundle: assisted_research +label: Terms +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + thesaurus: thesaurus + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.storage.taxonomy_term.field_terms.yml b/config/sync/field.storage.taxonomy_term.field_terms.yml new file mode 100644 index 00000000..7d9dac74 --- /dev/null +++ b/config/sync/field.storage.taxonomy_term.field_terms.yml @@ -0,0 +1,23 @@ +uuid: 32b8eb4b-329c-433b-b5d8-58c10120c394 +langcode: en +status: true +dependencies: + module: + - field_permissions + - taxonomy +third_party_settings: + field_permissions: + permission_type: public +id: taxonomy_term.field_terms +field_name: field_terms +entity_type: taxonomy_term +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/language.content_settings.taxonomy_term.assisted_research.yml b/config/sync/language.content_settings.taxonomy_term.assisted_research.yml new file mode 100644 index 00000000..dd54bb6b --- /dev/null +++ b/config/sync/language.content_settings.taxonomy_term.assisted_research.yml @@ -0,0 +1,16 @@ +uuid: 886b5d1e-1049-41fa-bb39-0e05508c57b1 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.assisted_research + module: + - content_translation +third_party_settings: + content_translation: + enabled: true +id: taxonomy_term.assisted_research +target_entity_type_id: taxonomy_term +target_bundle: assisted_research +default_langcode: site_default +language_alterable: true diff --git a/config/sync/taxonomy.vocabulary.assisted_research.yml b/config/sync/taxonomy.vocabulary.assisted_research.yml new file mode 100644 index 00000000..f0d2c91e --- /dev/null +++ b/config/sync/taxonomy.vocabulary.assisted_research.yml @@ -0,0 +1,8 @@ +uuid: 7f1f665d-8783-439a-980b-24e84f7867f2 +langcode: und +status: true +dependencies: { } +name: 'Assisted research' +vid: assisted_research +description: '' +weight: 0