Skip to content

Commit

Permalink
d8core-5741: next 2 fields
Browse files Browse the repository at this point in the history
  • Loading branch information
buttonwillowsix committed Aug 11, 2024
1 parent 9b1dff2 commit 845b90c
Show file tree
Hide file tree
Showing 7 changed files with 126 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ dependencies:
- field.field.node.stanford_opportunity.su_opp_eligibility
- field.field.node.stanford_opportunity.su_opp_image
- field.field.node.stanford_opportunity.su_opp_learn_more
- field.field.node.stanford_opportunity.su_opp_source
- field.field.node.stanford_opportunity.su_opp_start_date
- field.field.node.stanford_opportunity.su_opp_status
- node.type.stanford_opportunity
module:
- datetime
Expand Down Expand Up @@ -128,12 +130,27 @@ content:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
su_opp_source:
type: link_default
weight: 131
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
su_opp_start_date:
type: datetime_default
weight: 127
region: content
settings: { }
third_party_settings: { }
su_opp_status:
type: boolean_checkbox
weight: 132
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: -5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ dependencies:
- field.field.node.stanford_opportunity.su_opp_eligibility
- field.field.node.stanford_opportunity.su_opp_image
- field.field.node.stanford_opportunity.su_opp_learn_more
- field.field.node.stanford_opportunity.su_opp_source
- field.field.node.stanford_opportunity.su_opp_start_date
- field.field.node.stanford_opportunity.su_opp_status
- node.type.stanford_opportunity
module:
- datetime
Expand Down Expand Up @@ -116,6 +118,18 @@ content:
third_party_settings: { }
weight: 111
region: content
su_opp_source:
type: link
label: above
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 112
region: content
su_opp_start_date:
type: datetime_default
label: above
Expand All @@ -125,5 +139,15 @@ content:
third_party_settings: { }
weight: 108
region: content
su_opp_status:
type: boolean
label: above
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 113
region: content
hidden:
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ dependencies:
- field.field.node.stanford_opportunity.su_opp_eligibility
- field.field.node.stanford_opportunity.su_opp_image
- field.field.node.stanford_opportunity.su_opp_learn_more
- field.field.node.stanford_opportunity.su_opp_source
- field.field.node.stanford_opportunity.su_opp_start_date
- field.field.node.stanford_opportunity.su_opp_status
- node.type.stanford_opportunity
module:
- text
Expand Down Expand Up @@ -48,4 +50,6 @@ hidden:
su_opp_eligibility: true
su_opp_image: true
su_opp_learn_more: true
su_opp_source: true
su_opp_start_date: true
su_opp_status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uuid: 79f6b115-6857-4f51-ad2d-f2515eaef6b5
langcode: en
status: true
dependencies:
config:
- field.storage.node.su_opp_source
- node.type.stanford_opportunity
module:
- link
id: node.stanford_opportunity.su_opp_source
field_name: su_opp_source
entity_type: node
bundle: stanford_opportunity
label: 'External Source'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
title: 0
link_type: 17
field_type: link
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 7091fe46-7873-4630-bc58-f619b4b9ac4e
langcode: en
status: true
dependencies:
config:
- field.storage.node.su_opp_status
- node.type.stanford_opportunity
id: node.stanford_opportunity.su_opp_status
field_name: su_opp_status
entity_type: node
bundle: stanford_opportunity
label: 'Opportunity Status'
description: 'Check this box if the Opportunity should be listed as "Closed."'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
on_label: Closed
off_label: Open
field_type: boolean
19 changes: 19 additions & 0 deletions config/sync/field.storage.node.su_opp_source.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: d3704a90-9bf3-4f54-b36e-ffe0f42e14f5
langcode: en
status: true
dependencies:
module:
- link
- node
id: node.su_opp_source
field_name: su_opp_source
entity_type: node
type: link
settings: { }
module: link
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
18 changes: 18 additions & 0 deletions config/sync/field.storage.node.su_opp_status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: c391a09d-061c-4229-93f7-e254b48cd9cb
langcode: en
status: true
dependencies:
module:
- node
id: node.su_opp_status
field_name: su_opp_status
entity_type: node
type: boolean
settings: { }
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

0 comments on commit 845b90c

Please sign in to comment.