Skip to content

Commit

Permalink
d8core-5741: last taxonomy as tags
Browse files Browse the repository at this point in the history
  • Loading branch information
buttonwillowsix committed Aug 14, 2024
1 parent 7ae78eb commit fe6aba1
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ dependencies:
- field.field.node.stanford_opportunity.su_opp_start_date
- field.field.node.stanford_opportunity.su_opp_status
- field.field.node.stanford_opportunity.su_opp_summary
- field.field.node.stanford_opportunity.su_opp_tags
- field.field.node.stanford_opportunity.su_opp_type
- node.type.stanford_opportunity
module:
- change_labels
- cshs
- datetime
- link
- media_library
Expand Down Expand Up @@ -217,6 +220,24 @@ content:
rows: 5
placeholder: ''
third_party_settings: { }
su_opp_tags:
type: cshs
weight: 140
region: content
settings:
save_lineage: false
force_deepest: false
parent: null
level_labels: ''
hierarchy_depth: 0
required_depth: 0
none_label: '- Please select -'
third_party_settings:
change_labels:
add_another: ''
field_label_overwrite: ''
hide_add_another: 0
force_single_cardinality: 0
su_opp_type:
type: entity_reference_autocomplete
weight: 139
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ dependencies:
- field.field.node.stanford_opportunity.su_opp_start_date
- field.field.node.stanford_opportunity.su_opp_status
- field.field.node.stanford_opportunity.su_opp_summary
- field.field.node.stanford_opportunity.su_opp_tags
- field.field.node.stanford_opportunity.su_opp_type
- node.type.stanford_opportunity
module:
Expand Down Expand Up @@ -209,6 +210,14 @@ content:
third_party_settings: { }
weight: 115
region: content
su_opp_tags:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 121
region: content
su_opp_type:
type: entity_reference_label
label: above
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencies:
- field.field.node.stanford_opportunity.su_opp_start_date
- field.field.node.stanford_opportunity.su_opp_status
- field.field.node.stanford_opportunity.su_opp_summary
- field.field.node.stanford_opportunity.su_opp_tags
- field.field.node.stanford_opportunity.su_opp_type
- node.type.stanford_opportunity
module:
Expand Down Expand Up @@ -66,4 +67,5 @@ hidden:
su_opp_start_date: true
su_opp_status: true
su_opp_summary: true
su_opp_tags: true
su_opp_type: true
47 changes: 47 additions & 0 deletions config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
uuid: b9e4751b-1713-490a-8406-055325df60bb
langcode: en
status: true
dependencies:
config:
- field.storage.node.su_opp_tags
- node.type.stanford_opportunity
- taxonomy.vocabulary.opportunity_tag_1
- taxonomy.vocabulary.opportunity_tag_10
- taxonomy.vocabulary.opportunity_tag_2
- taxonomy.vocabulary.opportunity_tag_3
- taxonomy.vocabulary.opportunity_tag_4
- taxonomy.vocabulary.opportunity_tag_5
- taxonomy.vocabulary.opportunity_tag_6
- taxonomy.vocabulary.opportunity_tag_7
- taxonomy.vocabulary.opportunity_tag_8
- taxonomy.vocabulary.opportunity_tag_9
id: node.stanford_opportunity.su_opp_tags
field_name: su_opp_tags
entity_type: node
bundle: stanford_opportunity
label: 'Opportunity Tags'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
opportunity_tag_1: opportunity_tag_1
opportunity_tag_2: opportunity_tag_2
opportunity_tag_3: opportunity_tag_3
opportunity_tag_4: opportunity_tag_4
opportunity_tag_5: opportunity_tag_5
opportunity_tag_6: opportunity_tag_6
opportunity_tag_7: opportunity_tag_7
opportunity_tag_8: opportunity_tag_8
opportunity_tag_9: opportunity_tag_9
opportunity_tag_10: opportunity_tag_10
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: opportunity_tag_1
field_type: entity_reference
20 changes: 20 additions & 0 deletions config/sync/field.storage.node.su_opp_tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: f63c2c73-6b16-45af-9a98-798834dd1754
langcode: en
status: true
dependencies:
module:
- node
- taxonomy
id: node.su_opp_tags
field_name: su_opp_tags
entity_type: node
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

0 comments on commit fe6aba1

Please sign in to comment.