Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import some useful vocabularies in the starter site #142

Merged
merged 4 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
940 changes: 904 additions & 36 deletions assets/migrate/tags.csv

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -17,51 +18,59 @@ 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
placeholder: ''
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: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -17,51 +18,59 @@ 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
placeholder: ''
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: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -17,51 +18,59 @@ 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
placeholder: ''
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: { }
Expand Down
Original file line number Diff line number Diff line change
@@ -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: { }
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -35,5 +36,6 @@ content:
weight: 1
region: content
hidden:
field_code: true
langcode: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -35,5 +36,6 @@ content:
weight: 1
region: content
hidden:
field_code: true
langcode: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -35,5 +36,6 @@ content:
weight: 1
region: content
hidden:
field_code: true
langcode: true
search_api_excerpt: true
Loading
Loading