mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-02-12 01:26:53 +00:00
Add sponsors vocabulary
Replaces sponsor content type
This commit is contained in:
parent
c501556f7b
commit
a69a4ace66
5 changed files with 167 additions and 0 deletions
|
@ -0,0 +1,55 @@
|
|||
uuid: 14221d3c-9bef-4079-b323-6a8f14ac934f
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.taxonomy_term.sponsors.field_logo
|
||||
- image.style.thumbnail
|
||||
- taxonomy.vocabulary.sponsors
|
||||
module:
|
||||
- image
|
||||
- path
|
||||
- text
|
||||
id: taxonomy_term.sponsors.default
|
||||
targetEntityType: taxonomy_term
|
||||
bundle: sponsors
|
||||
mode: default
|
||||
content:
|
||||
description:
|
||||
type: text_textarea
|
||||
weight: 2
|
||||
region: content
|
||||
settings:
|
||||
rows: 5
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
field_logo:
|
||||
type: image_image
|
||||
weight: 1
|
||||
region: content
|
||||
settings:
|
||||
progress_indicator: throbber
|
||||
preview_image_style: thumbnail
|
||||
third_party_settings: { }
|
||||
name:
|
||||
type: string_textfield
|
||||
weight: 0
|
||||
region: content
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
path:
|
||||
type: path
|
||||
weight: 3
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
status:
|
||||
type: boolean_checkbox
|
||||
weight: 4
|
||||
region: content
|
||||
settings:
|
||||
display_label: true
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
|
@ -0,0 +1,35 @@
|
|||
uuid: 9fda164c-812d-4960-a776-9d878d72d488
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.taxonomy_term.sponsors.field_logo
|
||||
- image.style.medium
|
||||
- taxonomy.vocabulary.sponsors
|
||||
module:
|
||||
- image
|
||||
- text
|
||||
id: taxonomy_term.sponsors.default
|
||||
targetEntityType: taxonomy_term
|
||||
bundle: sponsors
|
||||
mode: default
|
||||
content:
|
||||
description:
|
||||
type: text_default
|
||||
label: hidden
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 1
|
||||
region: content
|
||||
field_logo:
|
||||
type: image
|
||||
label: hidden
|
||||
settings:
|
||||
image_link: file
|
||||
image_style: medium
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: content
|
||||
hidden: { }
|
|
@ -0,0 +1,38 @@
|
|||
uuid: de3e966d-d23f-46ad-ba36-85004d042d3d
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.taxonomy_term.field_logo
|
||||
- taxonomy.vocabulary.sponsors
|
||||
module:
|
||||
- image
|
||||
id: taxonomy_term.sponsors.field_logo
|
||||
field_name: field_logo
|
||||
entity_type: taxonomy_term
|
||||
bundle: sponsors
|
||||
label: Logo
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:file'
|
||||
handler_settings: { }
|
||||
file_directory: sponsors
|
||||
file_extensions: 'png gif jpg jpeg webp'
|
||||
max_filesize: ''
|
||||
max_resolution: ''
|
||||
min_resolution: ''
|
||||
alt_field: true
|
||||
alt_field_required: true
|
||||
title_field: false
|
||||
title_field_required: false
|
||||
default_image:
|
||||
uuid: ''
|
||||
alt: ''
|
||||
title: ''
|
||||
width: null
|
||||
height: null
|
||||
field_type: image
|
30
drupal10/config/field.storage.taxonomy_term.field_logo.yml
Normal file
30
drupal10/config/field.storage.taxonomy_term.field_logo.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
uuid: 444ddd8f-b3e3-4667-9425-765c34a07719
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- file
|
||||
- image
|
||||
- taxonomy
|
||||
id: taxonomy_term.field_logo
|
||||
field_name: field_logo
|
||||
entity_type: taxonomy_term
|
||||
type: image
|
||||
settings:
|
||||
target_type: file
|
||||
display_field: false
|
||||
display_default: false
|
||||
uri_scheme: public
|
||||
default_image:
|
||||
uuid: ''
|
||||
alt: ''
|
||||
title: ''
|
||||
width: null
|
||||
height: null
|
||||
module: image
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
9
drupal10/config/taxonomy.vocabulary.sponsors.yml
Normal file
9
drupal10/config/taxonomy.vocabulary.sponsors.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
uuid: b64f387b-ba7e-4fb6-a366-7a8b52d10595
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
name: Sponsors
|
||||
vid: sponsors
|
||||
description: null
|
||||
weight: 0
|
||||
new_revision: false
|
Loading…
Add table
Reference in a new issue