Skip to content

Commit

Permalink
d8core-5741: next 5 fields
Browse files Browse the repository at this point in the history
  • Loading branch information
buttonwillowsix committed Aug 11, 2024
1 parent 5594881 commit 9b1dff2
Show file tree
Hide file tree
Showing 13 changed files with 319 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,20 @@ dependencies:
- field.field.node.stanford_opportunity.su_opp_contact_email
- field.field.node.stanford_opportunity.su_opp_contact_name
- field.field.node.stanford_opportunity.su_opp_contact_phone
- field.field.node.stanford_opportunity.su_opp_course_code
- field.field.node.stanford_opportunity.su_opp_cta_url
- 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_start_date
- node.type.stanford_opportunity
module:
- datetime
- link
- media_library
- path
- telephone
- text
id: node.stanford_opportunity.default
targetEntityType: node
bundle: stanford_opportunity
Expand Down Expand Up @@ -82,6 +89,14 @@ content:
settings:
placeholder: ''
third_party_settings: { }
su_opp_course_code:
type: string_textfield
weight: 126
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_opp_cta_url:
type: link_default
weight: 122
Expand All @@ -90,6 +105,35 @@ content:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
su_opp_eligibility:
type: text_textarea
weight: 128
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
su_opp_image:
type: media_library_widget
weight: 129
region: content
settings:
media_types: { }
third_party_settings: { }
su_opp_learn_more:
type: link_default
weight: 130
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: { }
title:
type: string_textfield
weight: -5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ dependencies:
- field.field.node.stanford_opportunity.su_opp_contact_email
- field.field.node.stanford_opportunity.su_opp_contact_name
- field.field.node.stanford_opportunity.su_opp_contact_phone
- field.field.node.stanford_opportunity.su_opp_course_code
- field.field.node.stanford_opportunity.su_opp_cta_url
- 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_start_date
- node.type.stanford_opportunity
module:
- datetime
Expand Down Expand Up @@ -63,6 +68,14 @@ content:
third_party_settings: { }
weight: 106
region: content
su_opp_course_code:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 107
region: content
su_opp_cta_url:
type: link
label: above
Expand All @@ -75,5 +88,42 @@ content:
third_party_settings: { }
weight: 103
region: content
su_opp_eligibility:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 109
region: content
su_opp_image:
type: entity_reference_entity_view
label: above
settings:
view_mode: default
link: false
third_party_settings: { }
weight: 110
region: content
su_opp_learn_more:
type: link
label: above
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 111
region: content
su_opp_start_date:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 108
region: content
hidden:
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ dependencies:
- field.field.node.stanford_opportunity.su_opp_contact_email
- field.field.node.stanford_opportunity.su_opp_contact_name
- field.field.node.stanford_opportunity.su_opp_contact_phone
- field.field.node.stanford_opportunity.su_opp_course_code
- field.field.node.stanford_opportunity.su_opp_cta_url
- 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_start_date
- node.type.stanford_opportunity
module:
- text
Expand Down Expand Up @@ -38,4 +43,9 @@ hidden:
su_opp_contact_email: true
su_opp_contact_name: true
su_opp_contact_phone: true
su_opp_course_code: true
su_opp_cta_url: true
su_opp_eligibility: true
su_opp_image: true
su_opp_learn_more: true
su_opp_start_date: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 149b6773-c259-4e1e-9dbc-301ef66ceb42
langcode: en
status: true
dependencies:
config:
- field.storage.node.su_opp_course_code
- node.type.stanford_opportunity
id: node.stanford_opportunity.su_opp_course_code
field_name: su_opp_course_code
entity_type: node
bundle: stanford_opportunity
label: 'Course Code'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
uuid: a06f34fd-d3a1-4cbf-bce1-5f29a01a578b
langcode: en
status: true
dependencies:
config:
- field.storage.node.su_opp_eligibility
- filter.format.stanford_minimal_html
- node.type.stanford_opportunity
module:
- text
id: node.stanford_opportunity.su_opp_eligibility
field_name: su_opp_eligibility
entity_type: node
bundle: stanford_opportunity
label: Eligibility
description: 'Who is eligible to apply or take part in this opportunity?'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_formats:
- stanford_minimal_html
field_type: text_long
29 changes: 29 additions & 0 deletions config/sync/field.field.node.stanford_opportunity.su_opp_image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: f0869be1-909b-470a-833b-875ba3bf847d
langcode: en
status: true
dependencies:
config:
- field.storage.node.su_opp_image
- media.type.image
- node.type.stanford_opportunity
id: node.stanford_opportunity.su_opp_image
field_name: su_opp_image
entity_type: node
bundle: stanford_opportunity
label: 'Featured Image'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:media'
handler_settings:
target_bundles:
image: image
sort:
field: _none
direction: ASC
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uuid: 9e7d84a6-7493-4e06-b4b3-df1b6623efa1
langcode: en
status: true
dependencies:
config:
- field.storage.node.su_opp_learn_more
- node.type.stanford_opportunity
module:
- link
id: node.stanford_opportunity.su_opp_learn_more
field_name: su_opp_learn_more
entity_type: node
bundle: stanford_opportunity
label: 'Learn More Link'
description: 'Provide a link where users can find out more about this Opportunity. Please ensure this link has text that describes where the link will go.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
title: 2
link_type: 17
field_type: link
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 1ef26b12-a39c-4663-9df3-bbda41af11da
langcode: en
status: true
dependencies:
config:
- field.storage.node.su_opp_start_date
- node.type.stanford_opportunity
module:
- datetime
id: node.stanford_opportunity.su_opp_start_date
field_name: su_opp_start_date
entity_type: node
bundle: stanford_opportunity
label: 'Start Date'
description: 'The date the Opportunity starts.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: datetime
21 changes: 21 additions & 0 deletions config/sync/field.storage.node.su_opp_course_code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 35a0f8b3-4fa9-4faf-abff-3f8133e6df67
langcode: en
status: true
dependencies:
module:
- node
id: node.su_opp_course_code
field_name: su_opp_course_code
entity_type: node
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
19 changes: 19 additions & 0 deletions config/sync/field.storage.node.su_opp_eligibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 4d96a1ed-369e-4e41-a294-a76872e0bcee
langcode: en
status: true
dependencies:
module:
- node
- text
id: node.su_opp_eligibility
field_name: su_opp_eligibility
entity_type: node
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
20 changes: 20 additions & 0 deletions config/sync/field.storage.node.su_opp_image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: fcc2e64e-b155-4cee-abed-047a101b4e44
langcode: en
status: true
dependencies:
module:
- media
- node
id: node.su_opp_image
field_name: su_opp_image
entity_type: node
type: entity_reference
settings:
target_type: media
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
19 changes: 19 additions & 0 deletions config/sync/field.storage.node.su_opp_learn_more.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 4190ed7d-7d4c-4834-806a-af481adee1c7
langcode: en
status: true
dependencies:
module:
- link
- node
id: node.su_opp_learn_more
field_name: su_opp_learn_more
entity_type: node
type: link
settings: { }
module: link
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
20 changes: 20 additions & 0 deletions config/sync/field.storage.node.su_opp_start_date.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 7549c36b-7142-43b2-801d-33c1ce8fe011
langcode: en
status: true
dependencies:
module:
- datetime
- node
id: node.su_opp_start_date
field_name: su_opp_start_date
entity_type: node
type: datetime
settings:
datetime_type: date
module: datetime
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

0 comments on commit 9b1dff2

Please sign in to comment.