From cd6a7378b031aacef85411340e51fad3ce36de6f Mon Sep 17 00:00:00 2001 From: Santeri Hurnanen Date: Tue, 12 Mar 2024 08:11:28 +0200 Subject: [PATCH] UHF-9530: Better name for taxonomy --- ...play.taxonomy_term.linked_events_keywords.default.yml} | 8 ++++---- ...play.taxonomy_term.linked_events_keywords.default.yml} | 8 ++++---- ...d.field.paragraph.event_list.field_filter_keywords.yml | 4 ++-- ...nomy_term.linked_events_keywords.field_keyword_id.yml} | 6 +++--- .../taxonomy.vocabulary.linked_events_keywords.yml | 8 ++++++++ .../install/taxonomy.vocabulary.linked_events_topics.yml | 8 -------- .../migrations/linked_events_keywords.yml | 4 ++-- 7 files changed, 23 insertions(+), 23 deletions(-) rename modules/helfi_react_search/config/install/{core.entity_form_display.taxonomy_term.linked_events_topics.default.yml => core.entity_form_display.taxonomy_term.linked_events_keywords.default.yml} (86%) rename modules/helfi_react_search/config/install/{core.entity_view_display.taxonomy_term.linked_events_topics.default.yml => core.entity_view_display.taxonomy_term.linked_events_keywords.default.yml} (65%) rename modules/helfi_react_search/config/install/{field.field.taxonomy_term.linked_events_topics.field_keyword_id.yml => field.field.taxonomy_term.linked_events_keywords.field_keyword_id.yml} (73%) create mode 100644 modules/helfi_react_search/config/install/taxonomy.vocabulary.linked_events_keywords.yml delete mode 100644 modules/helfi_react_search/config/install/taxonomy.vocabulary.linked_events_topics.yml diff --git a/modules/helfi_react_search/config/install/core.entity_form_display.taxonomy_term.linked_events_topics.default.yml b/modules/helfi_react_search/config/install/core.entity_form_display.taxonomy_term.linked_events_keywords.default.yml similarity index 86% rename from modules/helfi_react_search/config/install/core.entity_form_display.taxonomy_term.linked_events_topics.default.yml rename to modules/helfi_react_search/config/install/core.entity_form_display.taxonomy_term.linked_events_keywords.default.yml index 1b3767ff2..0c4923fd5 100644 --- a/modules/helfi_react_search/config/install/core.entity_form_display.taxonomy_term.linked_events_topics.default.yml +++ b/modules/helfi_react_search/config/install/core.entity_form_display.taxonomy_term.linked_events_keywords.default.yml @@ -3,15 +3,15 @@ langcode: en status: true dependencies: config: - - field.field.taxonomy_term.linked_events_topics.field_keyword_id - - taxonomy.vocabulary.linked_events_topics + - field.field.taxonomy_term.linked_events_keywords.field_keyword_id + - taxonomy.vocabulary.linked_events_keywords module: - hdbt_admin_tools - path - readonly_field_widget -id: taxonomy_term.linked_events_topics.default +id: taxonomy_term.linked_events_keywords.default targetEntityType: taxonomy_term -bundle: linked_events_topics +bundle: linked_events_keywords mode: default content: description: diff --git a/modules/helfi_react_search/config/install/core.entity_view_display.taxonomy_term.linked_events_topics.default.yml b/modules/helfi_react_search/config/install/core.entity_view_display.taxonomy_term.linked_events_keywords.default.yml similarity index 65% rename from modules/helfi_react_search/config/install/core.entity_view_display.taxonomy_term.linked_events_topics.default.yml rename to modules/helfi_react_search/config/install/core.entity_view_display.taxonomy_term.linked_events_keywords.default.yml index 97b33e55a..b8234013f 100644 --- a/modules/helfi_react_search/config/install/core.entity_view_display.taxonomy_term.linked_events_topics.default.yml +++ b/modules/helfi_react_search/config/install/core.entity_view_display.taxonomy_term.linked_events_keywords.default.yml @@ -3,13 +3,13 @@ langcode: en status: true dependencies: config: - - field.field.taxonomy_term.linked_events_topics.field_keyword_id - - taxonomy.vocabulary.linked_events_topics + - field.field.taxonomy_term.linked_events_keywords.field_keyword_id + - taxonomy.vocabulary.linked_events_keywords module: - text -id: taxonomy_term.linked_events_topics.default +id: taxonomy_term.linked_events_keywords.default targetEntityType: taxonomy_term -bundle: linked_events_topics +bundle: linked_events_keywords mode: default content: description: diff --git a/modules/helfi_react_search/config/install/field.field.paragraph.event_list.field_filter_keywords.yml b/modules/helfi_react_search/config/install/field.field.paragraph.event_list.field_filter_keywords.yml index f44aaf172..ee5a98d6e 100644 --- a/modules/helfi_react_search/config/install/field.field.paragraph.event_list.field_filter_keywords.yml +++ b/modules/helfi_react_search/config/install/field.field.paragraph.event_list.field_filter_keywords.yml @@ -5,7 +5,7 @@ dependencies: config: - field.storage.paragraph.field_filter_keywords - paragraphs.paragraphs_type.event_list - - taxonomy.vocabulary.linked_events_topics + - taxonomy.vocabulary.linked_events_keywords id: paragraph.event_list.field_filter_keywords field_name: field_filter_keywords entity_type: paragraph @@ -20,7 +20,7 @@ settings: handler: 'default:taxonomy_term' handler_settings: target_bundles: - linked_events_topics: linked_events_topics + linked_events_keywords: linked_events_keywords sort: field: name direction: asc diff --git a/modules/helfi_react_search/config/install/field.field.taxonomy_term.linked_events_topics.field_keyword_id.yml b/modules/helfi_react_search/config/install/field.field.taxonomy_term.linked_events_keywords.field_keyword_id.yml similarity index 73% rename from modules/helfi_react_search/config/install/field.field.taxonomy_term.linked_events_topics.field_keyword_id.yml rename to modules/helfi_react_search/config/install/field.field.taxonomy_term.linked_events_keywords.field_keyword_id.yml index c011b4341..9aff774ec 100644 --- a/modules/helfi_react_search/config/install/field.field.taxonomy_term.linked_events_topics.field_keyword_id.yml +++ b/modules/helfi_react_search/config/install/field.field.taxonomy_term.linked_events_keywords.field_keyword_id.yml @@ -4,11 +4,11 @@ status: true dependencies: config: - field.storage.taxonomy_term.field_keyword_id - - taxonomy.vocabulary.linked_events_topics -id: taxonomy_term.linked_events_topics.field_keyword_id + - taxonomy.vocabulary.linked_events_keywords +id: taxonomy_term.linked_events_keywords.field_keyword_id field_name: field_keyword_id entity_type: taxonomy_term -bundle: linked_events_topics +bundle: linked_events_keywords label: 'Keyword ID' description: 'Linked events keyword id.' required: true diff --git a/modules/helfi_react_search/config/install/taxonomy.vocabulary.linked_events_keywords.yml b/modules/helfi_react_search/config/install/taxonomy.vocabulary.linked_events_keywords.yml new file mode 100644 index 000000000..83fa43891 --- /dev/null +++ b/modules/helfi_react_search/config/install/taxonomy.vocabulary.linked_events_keywords.yml @@ -0,0 +1,8 @@ +uuid: 757cd796-00f7-445a-907d-0977ffe099be +langcode: en +status: true +dependencies: { } +name: 'Linked Events Keywords' +vid: linked_events_keywords +description: 'Keywords from yso dataset.' +weight: 0 diff --git a/modules/helfi_react_search/config/install/taxonomy.vocabulary.linked_events_topics.yml b/modules/helfi_react_search/config/install/taxonomy.vocabulary.linked_events_topics.yml deleted file mode 100644 index b700d139b..000000000 --- a/modules/helfi_react_search/config/install/taxonomy.vocabulary.linked_events_topics.yml +++ /dev/null @@ -1,8 +0,0 @@ -uuid: 757cd796-00f7-445a-907d-0977ffe099be -langcode: en -status: true -dependencies: { } -name: 'Linked Events Topics' -vid: linked_events_topics -description: 'Keywords from helsinki:topics keywords set.' -weight: 0 diff --git a/modules/helfi_react_search/migrations/linked_events_keywords.yml b/modules/helfi_react_search/migrations/linked_events_keywords.yml index 5bc7171ea..86db85243 100644 --- a/modules/helfi_react_search/migrations/linked_events_keywords.yml +++ b/modules/helfi_react_search/migrations/linked_events_keywords.yml @@ -4,7 +4,7 @@ dependencies: enforced: module: - helfi_react_search -id: linked_events_topics +id: linked_events_keywords migration_tags: - linked_events label: 'Linked events: topics' @@ -21,5 +21,5 @@ process: language: language destination: plugin: translatable_entity:taxonomy_term - default_bundle: linked_events_topics + default_bundle: linked_events_keywords migration_dependencies: { }