From bf8f387a4a660c5d9362cef2c674dc32dedf3894 Mon Sep 17 00:00:00 2001 From: Rosie Le Faive Date: Fri, 5 Apr 2024 17:30:05 -0300 Subject: [PATCH] Add field code and set up to not display. Add DCMItypes. --- assets/migrate/extra-vocabs.csv | 25 +++++++ ..._display.taxonomy_term.country.default.yml | 27 ++++--- ...play.taxonomy_term.frequencies.default.yml | 27 ++++--- ...y.taxonomy_term.issuance_modes.default.yml | 17 +++-- ...display.taxonomy_term.language.default.yml | 27 ++++--- ...onomy_term.resource_types_dcmi.default.yml | 70 +++++++++++++++++++ ..._display.taxonomy_term.country.default.yml | 2 + ...play.taxonomy_term.frequencies.default.yml | 2 + ...y.taxonomy_term.issuance_modes.default.yml | 2 + ...display.taxonomy_term.language.default.yml | 2 + ...onomy_term.resource_types_dcmi.default.yml | 39 +++++++++++ ...field.taxonomy_term.country.field_code.yml | 19 +++++ ...d.taxonomy_term.frequencies.field_code.yml | 19 +++++ ...axonomy_term.issuance_modes.field_code.yml | 19 +++++ ...ield.taxonomy_term.language.field_code.yml | 19 +++++ ...rm.resource_types.field_authority_link.yml | 1 - ...source_types_dcmi.field_authority_link.yml | 25 +++++++ ...my_term.resource_types_dcmi.field_code.yml | 19 +++++ ...age.taxonomy_term.field_authority_link.yml | 4 ++ ...field.storage.taxonomy_term.field_code.yml | 25 +++++++ ...ings.taxonomy_term.resource_types_dcmi.yml | 11 +++ ..._plus.migration.islandora_extra_vocabs.yml | 3 +- .../taxonomy.vocabulary.resource_types.yml | 4 +- ...axonomy.vocabulary.resource_types_dcmi.yml | 8 +++ 24 files changed, 381 insertions(+), 35 deletions(-) create mode 100644 config/sync/core.entity_form_display.taxonomy_term.resource_types_dcmi.default.yml create mode 100644 config/sync/core.entity_view_display.taxonomy_term.resource_types_dcmi.default.yml create mode 100644 config/sync/field.field.taxonomy_term.country.field_code.yml create mode 100644 config/sync/field.field.taxonomy_term.frequencies.field_code.yml create mode 100644 config/sync/field.field.taxonomy_term.issuance_modes.field_code.yml create mode 100644 config/sync/field.field.taxonomy_term.language.field_code.yml create mode 100644 config/sync/field.field.taxonomy_term.resource_types_dcmi.field_authority_link.yml create mode 100644 config/sync/field.field.taxonomy_term.resource_types_dcmi.field_code.yml create mode 100644 config/sync/field.storage.taxonomy_term.field_code.yml create mode 100644 config/sync/language.content_settings.taxonomy_term.resource_types_dcmi.yml create mode 100644 config/sync/taxonomy.vocabulary.resource_types_dcmi.yml diff --git a/assets/migrate/extra-vocabs.csv b/assets/migrate/extra-vocabs.csv index 45fed68fe..8feea88e5 100644 --- a/assets/migrate/extra-vocabs.csv +++ b/assets/migrate/extra-vocabs.csv @@ -843,3 +843,28 @@ language,Iroquoian languages,http://id.loc.gov/vocabulary/iso639-2/iro,iso639-2, language,"English, Old (ca.450-1100)",http://id.loc.gov/vocabulary/iso639-2/ang,iso639-2,,,ang language,Sinhala | Sinhalese,http://id.loc.gov/vocabulary/iso639-2/sin,iso639-2,,,sin language,Javanese,http://id.loc.gov/vocabulary/iso639-2/jav,iso639-2,,,jav +resource_types_dcmi,Dataset,http://purl.org/dc/dcmitype/Dataset,dcmi_types,"Data encoded in a defined structure. +Examples include lists, tables, and databases. A dataset may be useful for direct machine processing.",,Dataset +resource_types_dcmi,Sound,http://purl.org/dc/dcmitype/Sound,dcmi_types,"A resource primarily intended to be heard. +Examples include a music playback file format, an audio compact disc, and recorded speech or sounds.",,Sound +resource_types_dcmi,Interactive Resource,http://purl.org/dc/dcmitype/InteractiveResource,dcmi_types,"A resource requiring interaction from the user to be understood, executed, or experienced. +Examples include forms on Web pages, applets, multimedia learning objects, chat services, or virtual reality environments.",,InteractiveResource +resource_types_dcmi,Service,http://purl.org/dc/dcmitype/Service,dcmi_types,"A system that provides one or more functions. +Examples include a photocopying service, a banking service, an authentication service, interlibrary loans, a Z39.50 or Web server.",,Service +resource_types_dcmi,Moving Image,http://purl.org/dc/dcmitype/MovingImage,dcmi_types,"A series of visual representations imparting an impression of motion when shown in succession. +Examples include animations, movies, television programs, videos, zoetropes, or visual output from a simulation. Instances of the type Moving Image must also be describable as instances of the broader type Image.",,MovingImage +resource_types_dcmi,Physical Object,http://purl.org/dc/dcmitype/PhysicalObject,dcmi_types,"An inanimate, three-dimensional object or substance. +Note that digital representations of, or surrogates for, these objects should use Image, Text or one of the other types.",,PhysicalObject +resource_types_dcmi,Event,http://purl.org/dc/dcmitype/Event,dcmi_types,"A non-persistent, time-based occurrence. +Metadata for an event provides descriptive information that is the basis for discovery of the purpose, location, duration, and responsible agents associated with an event. Examples include an exhibition, webcast, conference, workshop, open day, performance, battle, trial, wedding, tea party, conflagration.",,Event +resource_types_dcmi,Still Image,http://purl.org/dc/dcmitype/StillImage,dcmi_types,"A static visual representation. +Examples include paintings, drawings, graphic designs, plans and maps. Recommended best practice is to assign the type Text to images of textual materials. Instances of the type Still Image must also be describable as instances of the broader type Image.",,StillImage +resource_types_dcmi,Software,http://purl.org/dc/dcmitype/Software,dcmi_types,"A computer program in source or compiled form. +Examples include a C source file, MS-Windows .exe executable, or Perl script.",,Software +resource_types_dcmi,Image,http://purl.org/dc/dcmitype/Image,dcmi_types,"A visual representation other than text. +Examples include images and photographs of physical objects, paintings, prints, drawings, other images and graphics, animations and moving pictures, film, diagrams, maps, musical notation. Note that Image may include both electronic and physical representations.",,Image +resource_types_dcmi,Collection,http://purl.org/dc/dcmitype/Collection,dcmi_types,"An aggregation of resources. +A collection is described as a group; its parts may also be separately described.",,Collection +resource_types_dcmi,Text,http://purl.org/dc/dcmitype/Text,dcmi_types,"A resource consisting primarily of words for reading. +Examples include books, letters, dissertations, poems, newspapers, articles, archives of mailing lists. Note that facsimiles or images of texts are still of the genre Text.",,Text + diff --git a/config/sync/core.entity_form_display.taxonomy_term.country.default.yml b/config/sync/core.entity_form_display.taxonomy_term.country.default.yml index e78f1dbb1..bc7bfa641 100644 --- a/config/sync/core.entity_form_display.taxonomy_term.country.default.yml +++ b/config/sync/core.entity_form_display.taxonomy_term.country.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.taxonomy_term.country.field_authority_link + - field.field.taxonomy_term.country.field_code - taxonomy.vocabulary.country module: - controlled_access_terms @@ -17,31 +18,39 @@ bundle: country mode: default content: description: - type: text_textfield - weight: 0 + type: text_textarea + weight: 1 region: content settings: - size: 60 + rows: 5 placeholder: '' third_party_settings: { } field_authority_link: type: authority_link_default - weight: 31 + weight: 2 region: content settings: placeholder_url: '' placeholder_title: '' third_party_settings: { } + field_code: + type: string_textfield + weight: 3 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } langcode: type: language_select - weight: 2 + weight: 4 region: content settings: include_locked: true third_party_settings: { } name: type: string_textfield - weight: -5 + weight: 0 region: content settings: size: 60 @@ -49,19 +58,19 @@ content: third_party_settings: { } path: type: path - weight: 30 + weight: 6 region: content settings: { } third_party_settings: { } status: type: boolean_checkbox - weight: 100 + weight: 7 region: content settings: display_label: true third_party_settings: { } translation: - weight: 10 + weight: 5 region: content settings: { } third_party_settings: { } diff --git a/config/sync/core.entity_form_display.taxonomy_term.frequencies.default.yml b/config/sync/core.entity_form_display.taxonomy_term.frequencies.default.yml index f69b7c2e0..c933639b8 100644 --- a/config/sync/core.entity_form_display.taxonomy_term.frequencies.default.yml +++ b/config/sync/core.entity_form_display.taxonomy_term.frequencies.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.taxonomy_term.frequencies.field_authority_link + - field.field.taxonomy_term.frequencies.field_code - taxonomy.vocabulary.frequencies module: - controlled_access_terms @@ -17,31 +18,39 @@ bundle: frequencies mode: default content: description: - type: text_textfield - weight: 0 + type: text_textarea + weight: 1 region: content settings: - size: 60 + rows: 5 placeholder: '' third_party_settings: { } field_authority_link: type: authority_link_default - weight: 101 + weight: 2 region: content settings: placeholder_url: '' placeholder_title: '' third_party_settings: { } + field_code: + type: string_textfield + weight: 3 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } langcode: type: language_select - weight: 2 + weight: 4 region: content settings: include_locked: true third_party_settings: { } name: type: string_textfield - weight: -5 + weight: 0 region: content settings: size: 60 @@ -49,19 +58,19 @@ content: third_party_settings: { } path: type: path - weight: 30 + weight: 6 region: content settings: { } third_party_settings: { } status: type: boolean_checkbox - weight: 100 + weight: 7 region: content settings: display_label: true third_party_settings: { } translation: - weight: 10 + weight: 5 region: content settings: { } third_party_settings: { } diff --git a/config/sync/core.entity_form_display.taxonomy_term.issuance_modes.default.yml b/config/sync/core.entity_form_display.taxonomy_term.issuance_modes.default.yml index f77b6799e..0e924ea28 100644 --- a/config/sync/core.entity_form_display.taxonomy_term.issuance_modes.default.yml +++ b/config/sync/core.entity_form_display.taxonomy_term.issuance_modes.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.taxonomy_term.issuance_modes.field_authority_link + - field.field.taxonomy_term.issuance_modes.field_code - taxonomy.vocabulary.issuance_modes module: - controlled_access_terms @@ -32,9 +33,17 @@ content: placeholder_url: '' placeholder_title: '' third_party_settings: { } + field_code: + type: string_textfield + weight: 3 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } langcode: type: language_select - weight: 3 + weight: 4 region: content settings: include_locked: true @@ -49,19 +58,19 @@ content: third_party_settings: { } path: type: path - weight: 5 + weight: 6 region: content settings: { } third_party_settings: { } status: type: boolean_checkbox - weight: 6 + weight: 7 region: content settings: display_label: true third_party_settings: { } translation: - weight: 4 + weight: 5 region: content settings: { } third_party_settings: { } diff --git a/config/sync/core.entity_form_display.taxonomy_term.language.default.yml b/config/sync/core.entity_form_display.taxonomy_term.language.default.yml index c1b668c4d..0e1d8514f 100644 --- a/config/sync/core.entity_form_display.taxonomy_term.language.default.yml +++ b/config/sync/core.entity_form_display.taxonomy_term.language.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.taxonomy_term.language.field_authority_link + - field.field.taxonomy_term.language.field_code - taxonomy.vocabulary.language module: - controlled_access_terms @@ -17,31 +18,39 @@ bundle: language mode: default content: description: - type: text_textfield - weight: 0 + type: text_textarea + weight: 1 region: content settings: - size: 60 + rows: 5 placeholder: '' third_party_settings: { } field_authority_link: type: authority_link_default - weight: 101 + weight: 2 region: content settings: placeholder_url: '' placeholder_title: '' third_party_settings: { } + field_code: + type: string_textfield + weight: 3 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } langcode: type: language_select - weight: 2 + weight: 4 region: content settings: include_locked: true third_party_settings: { } name: type: string_textfield - weight: -5 + weight: 0 region: content settings: size: 60 @@ -49,19 +58,19 @@ content: third_party_settings: { } path: type: path - weight: 30 + weight: 6 region: content settings: { } third_party_settings: { } status: type: boolean_checkbox - weight: 100 + weight: 7 region: content settings: display_label: true third_party_settings: { } translation: - weight: 10 + weight: 5 region: content settings: { } third_party_settings: { } diff --git a/config/sync/core.entity_form_display.taxonomy_term.resource_types_dcmi.default.yml b/config/sync/core.entity_form_display.taxonomy_term.resource_types_dcmi.default.yml new file mode 100644 index 000000000..1c0138616 --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.resource_types_dcmi.default.yml @@ -0,0 +1,70 @@ +uuid: 8149ad70-2a4b-46ee-8d80-6c1dca1a5ea2 +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.resource_types_dcmi.field_authority_link + - field.field.taxonomy_term.resource_types_dcmi.field_code + - taxonomy.vocabulary.resource_types_dcmi + module: + - controlled_access_terms + - path + - text +id: taxonomy_term.resource_types_dcmi.default +targetEntityType: taxonomy_term +bundle: resource_types_dcmi +mode: default +content: + description: + type: text_textarea + weight: 1 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + field_authority_link: + type: authority_link_default + weight: 2 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + field_code: + type: string_textfield + weight: 3 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + langcode: + type: language_select + weight: 4 + region: content + settings: + include_locked: true + third_party_settings: { } + name: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + path: + type: path + weight: 5 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 6 + region: content + settings: + display_label: true + third_party_settings: { } +hidden: { } diff --git a/config/sync/core.entity_view_display.taxonomy_term.country.default.yml b/config/sync/core.entity_view_display.taxonomy_term.country.default.yml index 064e5f84c..6c9701fad 100644 --- a/config/sync/core.entity_view_display.taxonomy_term.country.default.yml +++ b/config/sync/core.entity_view_display.taxonomy_term.country.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.taxonomy_term.country.field_authority_link + - field.field.taxonomy_term.country.field_code - taxonomy.vocabulary.country module: - controlled_access_terms @@ -35,5 +36,6 @@ content: weight: 1 region: content hidden: + field_code: true langcode: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.taxonomy_term.frequencies.default.yml b/config/sync/core.entity_view_display.taxonomy_term.frequencies.default.yml index 537021cb8..672987256 100644 --- a/config/sync/core.entity_view_display.taxonomy_term.frequencies.default.yml +++ b/config/sync/core.entity_view_display.taxonomy_term.frequencies.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.taxonomy_term.frequencies.field_authority_link + - field.field.taxonomy_term.frequencies.field_code - taxonomy.vocabulary.frequencies module: - controlled_access_terms @@ -35,5 +36,6 @@ content: weight: 1 region: content hidden: + field_code: true langcode: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.taxonomy_term.issuance_modes.default.yml b/config/sync/core.entity_view_display.taxonomy_term.issuance_modes.default.yml index 53233d302..c6400e71f 100644 --- a/config/sync/core.entity_view_display.taxonomy_term.issuance_modes.default.yml +++ b/config/sync/core.entity_view_display.taxonomy_term.issuance_modes.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.taxonomy_term.issuance_modes.field_authority_link + - field.field.taxonomy_term.issuance_modes.field_code - taxonomy.vocabulary.issuance_modes module: - controlled_access_terms @@ -35,5 +36,6 @@ content: weight: 1 region: content hidden: + field_code: true langcode: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.taxonomy_term.language.default.yml b/config/sync/core.entity_view_display.taxonomy_term.language.default.yml index 61fceb6f8..bf6d6c5bb 100644 --- a/config/sync/core.entity_view_display.taxonomy_term.language.default.yml +++ b/config/sync/core.entity_view_display.taxonomy_term.language.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.taxonomy_term.language.field_authority_link + - field.field.taxonomy_term.language.field_code - taxonomy.vocabulary.language module: - controlled_access_terms @@ -35,5 +36,6 @@ content: weight: 1 region: content hidden: + field_code: true langcode: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.taxonomy_term.resource_types_dcmi.default.yml b/config/sync/core.entity_view_display.taxonomy_term.resource_types_dcmi.default.yml new file mode 100644 index 000000000..132edfa43 --- /dev/null +++ b/config/sync/core.entity_view_display.taxonomy_term.resource_types_dcmi.default.yml @@ -0,0 +1,39 @@ +uuid: 2bf49a7d-4a90-4cf2-8e7b-d7106dab5fc7 +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.resource_types_dcmi.field_authority_link + - field.field.taxonomy_term.resource_types_dcmi.field_code + - taxonomy.vocabulary.resource_types_dcmi + module: + - controlled_access_terms + - text +id: taxonomy_term.resource_types_dcmi.default +targetEntityType: taxonomy_term +bundle: resource_types_dcmi +mode: default +content: + description: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content + field_authority_link: + type: authority_formatter_default + label: above + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: _blank + third_party_settings: { } + weight: 1 + region: content +hidden: + field_code: true + langcode: true + search_api_excerpt: true diff --git a/config/sync/field.field.taxonomy_term.country.field_code.yml b/config/sync/field.field.taxonomy_term.country.field_code.yml new file mode 100644 index 000000000..f8bb52ce4 --- /dev/null +++ b/config/sync/field.field.taxonomy_term.country.field_code.yml @@ -0,0 +1,19 @@ +uuid: ead413fe-f55d-4061-adac-2fe3d0ea8955 +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_code + - taxonomy.vocabulary.country +id: taxonomy_term.country.field_code +field_name: field_code +entity_type: taxonomy_term +bundle: country +label: Code +description: 'Code in a controlled vocabulary such as MarcCountry.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.taxonomy_term.frequencies.field_code.yml b/config/sync/field.field.taxonomy_term.frequencies.field_code.yml new file mode 100644 index 000000000..d0cfdae1e --- /dev/null +++ b/config/sync/field.field.taxonomy_term.frequencies.field_code.yml @@ -0,0 +1,19 @@ +uuid: a95427a7-00a5-4132-8444-ffc05e6e9791 +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_code + - taxonomy.vocabulary.frequencies +id: taxonomy_term.frequencies.field_code +field_name: field_code +entity_type: taxonomy_term +bundle: frequencies +label: Code +description: 'Code in a controlled vocabulary such as the LC Publication Frequencies.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.taxonomy_term.issuance_modes.field_code.yml b/config/sync/field.field.taxonomy_term.issuance_modes.field_code.yml new file mode 100644 index 000000000..27554abc5 --- /dev/null +++ b/config/sync/field.field.taxonomy_term.issuance_modes.field_code.yml @@ -0,0 +1,19 @@ +uuid: 9d36018a-8234-4311-bcb3-5b82719bbd24 +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_code + - taxonomy.vocabulary.issuance_modes +id: taxonomy_term.issuance_modes.field_code +field_name: field_code +entity_type: taxonomy_term +bundle: issuance_modes +label: Code +description: 'Code in a controlled vocabulary such as LC Issuance Modes.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.taxonomy_term.language.field_code.yml b/config/sync/field.field.taxonomy_term.language.field_code.yml new file mode 100644 index 000000000..391eda808 --- /dev/null +++ b/config/sync/field.field.taxonomy_term.language.field_code.yml @@ -0,0 +1,19 @@ +uuid: ec344494-8fa9-407d-b884-657c0024a45c +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_code + - taxonomy.vocabulary.language +id: taxonomy_term.language.field_code +field_name: field_code +entity_type: taxonomy_term +bundle: language +label: Code +description: 'Code in a controlled vocabulary such as ISO629-2.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.taxonomy_term.resource_types.field_authority_link.yml b/config/sync/field.field.taxonomy_term.resource_types.field_authority_link.yml index d5ff07939..335669b3a 100644 --- a/config/sync/field.field.taxonomy_term.resource_types.field_authority_link.yml +++ b/config/sync/field.field.taxonomy_term.resource_types.field_authority_link.yml @@ -21,7 +21,6 @@ default_value: { } default_value_callback: '' settings: authority_sources: - dcmi_types: 'DCMI Type Vocabulary' marc_resource_types: 'MARC Resource Types' resourceTypes: 'Library of Congress Resource Types Scheme' bibo: 'Bibliographic Ontology' diff --git a/config/sync/field.field.taxonomy_term.resource_types_dcmi.field_authority_link.yml b/config/sync/field.field.taxonomy_term.resource_types_dcmi.field_authority_link.yml new file mode 100644 index 000000000..737f6dfbd --- /dev/null +++ b/config/sync/field.field.taxonomy_term.resource_types_dcmi.field_authority_link.yml @@ -0,0 +1,25 @@ +uuid: 3bfe2b2e-0870-4809-bbcd-0aa3516e606a +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_authority_link + - taxonomy.vocabulary.resource_types_dcmi + module: + - controlled_access_terms +id: taxonomy_term.resource_types_dcmi.field_authority_link +field_name: field_authority_link +entity_type: taxonomy_term +bundle: resource_types_dcmi +label: 'Authority Sources' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + authority_sources: + dcmi_types: 'DCMI Type Vocabulary' + title: 1 + link_type: 16 +field_type: authority_link diff --git a/config/sync/field.field.taxonomy_term.resource_types_dcmi.field_code.yml b/config/sync/field.field.taxonomy_term.resource_types_dcmi.field_code.yml new file mode 100644 index 000000000..e094459ed --- /dev/null +++ b/config/sync/field.field.taxonomy_term.resource_types_dcmi.field_code.yml @@ -0,0 +1,19 @@ +uuid: 28798a19-c969-4843-901b-33df9ec7c134 +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_code + - taxonomy.vocabulary.resource_types_dcmi +id: taxonomy_term.resource_types_dcmi.field_code +field_name: field_code +entity_type: taxonomy_term +bundle: resource_types_dcmi +label: Code +description: 'Code in a controlled vocabulary such as MarcCountry.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.storage.taxonomy_term.field_authority_link.yml b/config/sync/field.storage.taxonomy_term.field_authority_link.yml index ad83a3150..b4096a9b9 100644 --- a/config/sync/field.storage.taxonomy_term.field_authority_link.yml +++ b/config/sync/field.storage.taxonomy_term.field_authority_link.yml @@ -4,7 +4,11 @@ status: true dependencies: module: - controlled_access_terms + - field_permissions - taxonomy +third_party_settings: + field_permissions: + permission_type: public _core: default_config_hash: nH5f6yNsGrvFxsGMbUje8suSzqppfVjgm9UlxdXKt7o id: taxonomy_term.field_authority_link diff --git a/config/sync/field.storage.taxonomy_term.field_code.yml b/config/sync/field.storage.taxonomy_term.field_code.yml new file mode 100644 index 000000000..cddf357e8 --- /dev/null +++ b/config/sync/field.storage.taxonomy_term.field_code.yml @@ -0,0 +1,25 @@ +uuid: 1f1399d1-7519-435d-b486-ed64da5bd22d +langcode: en +status: true +dependencies: + module: + - field_permissions + - taxonomy +third_party_settings: + field_permissions: + permission_type: public +id: taxonomy_term.field_code +field_name: field_code +entity_type: taxonomy_term +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/language.content_settings.taxonomy_term.resource_types_dcmi.yml b/config/sync/language.content_settings.taxonomy_term.resource_types_dcmi.yml new file mode 100644 index 000000000..10f2f46da --- /dev/null +++ b/config/sync/language.content_settings.taxonomy_term.resource_types_dcmi.yml @@ -0,0 +1,11 @@ +uuid: bffd952e-2cc2-4203-9fe7-3c1d44796b61 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.resource_types_dcmi +id: taxonomy_term.resource_types_dcmi +target_entity_type_id: taxonomy_term +target_bundle: resource_types_dcmi +default_langcode: site_default +language_alterable: false diff --git a/config/sync/migrate_plus.migration.islandora_extra_vocabs.yml b/config/sync/migrate_plus.migration.islandora_extra_vocabs.yml index 4befb7eda..2efccefb1 100644 --- a/config/sync/migrate_plus.migration.islandora_extra_vocabs.yml +++ b/config/sync/migrate_plus.migration.islandora_extra_vocabs.yml @@ -1,3 +1,4 @@ +uuid: 9728970a-1090-4d28-8c31-7b08e10d065e langcode: en status: true dependencies: { } @@ -11,7 +12,7 @@ migration_group: islandora label: 'Extra vocabularies migration for Islandora Starter Site' source: plugin: csv - path: ../assets/migrate/extra_vocabs.csv + path: ../assets/migrate/extra-vocabs.csv header_row_count: 1 ids: - name diff --git a/config/sync/taxonomy.vocabulary.resource_types.yml b/config/sync/taxonomy.vocabulary.resource_types.yml index 8f203218b..5d2dae923 100644 --- a/config/sync/taxonomy.vocabulary.resource_types.yml +++ b/config/sync/taxonomy.vocabulary.resource_types.yml @@ -4,7 +4,7 @@ status: true dependencies: { } _core: default_config_hash: tcyfAGtPfozbmd4cDt41tx83H_y01kzvHdFTD9CXHZk -name: 'Resource Types' +name: 'Resource Types (LC)' vid: resource_types -description: 'See http://purl.org/dc/dcmitype/ and http://id.loc.gov/vocabulary/resourceTypes.html (a nested list of types).' +description: 'The LC Resource Types vocabulary. ' weight: 0 diff --git a/config/sync/taxonomy.vocabulary.resource_types_dcmi.yml b/config/sync/taxonomy.vocabulary.resource_types_dcmi.yml new file mode 100644 index 000000000..04b3a0d62 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.resource_types_dcmi.yml @@ -0,0 +1,8 @@ +uuid: 3c90cefa-7d65-4c5d-a316-139b88909bfc +langcode: en +status: true +dependencies: { } +name: 'Resource Types (DCMI)' +vid: resource_types_dcmi +description: 'The DCMI Type Vocabulary' +weight: 0