-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
d8core-5741: fields first pass (#800)
- Loading branch information
1 parent
2d25767
commit 653a9e1
Showing
7 changed files
with
240 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
config/sync/core.base_field_override.node.su_opportunity.promote.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
uuid: 3f3f7061-86ac-4e9e-be0a-38d67c82f7f4 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.stanford_opportunity | ||
id: node.stanford_opportunity.promote | ||
field_name: promote | ||
entity_type: node | ||
bundle: stanford_opportunity | ||
label: 'Promoted to front page' | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: | ||
- | ||
value: 0 | ||
default_value_callback: '' | ||
settings: | ||
on_label: 'On' | ||
off_label: 'Off' | ||
field_type: boolean |
84 changes: 84 additions & 0 deletions
84
config/sync/core.entity_form_display.node.stanford_opportunity.default
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
uuid: 239d0417-271d-4acf-adb7-414be7d3e428 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.node.stanford_opportunity.body | ||
- node.type.stanford_opportunity | ||
module: | ||
- path | ||
- text | ||
id: node.stanford_opportunity.default | ||
targetEntityType: node | ||
bundle: stanford_opportunity | ||
mode: default | ||
content: | ||
body: | ||
type: text_textarea_with_summary | ||
weight: 121 | ||
region: content | ||
settings: | ||
rows: 9 | ||
summary_rows: 3 | ||
placeholder: '' | ||
show_summary: false | ||
third_party_settings: { } | ||
created: | ||
type: datetime_timestamp | ||
weight: 10 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
path: | ||
type: path | ||
weight: 30 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
promote: | ||
type: boolean_checkbox | ||
weight: 15 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
status: | ||
type: boolean_checkbox | ||
weight: 120 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
sticky: | ||
type: boolean_checkbox | ||
weight: 16 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
title: | ||
type: string_textfield | ||
weight: -5 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
uid: | ||
type: entity_reference_autocomplete | ||
weight: 5 | ||
region: content | ||
settings: | ||
match_operator: CONTAINS | ||
match_limit: 10 | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
url_redirects: | ||
weight: 50 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
hidden: | ||
publish_on: true | ||
unpublish_on: true |
29 changes: 29 additions & 0 deletions
29
config/sync/core.entity_view_display.node.stanford_opportunity.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
uuid: 46505eb5-a712-448f-9fd3-5cb6663a7706 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.node.stanford_opportunity.body | ||
- node.type.stanford_opportunity | ||
module: | ||
- text | ||
- user | ||
id: node.stanford_opportunity.default | ||
targetEntityType: node | ||
bundle: stanford_opportunity | ||
mode: default | ||
content: | ||
body: | ||
type: text_default | ||
label: hidden | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 101 | ||
region: content | ||
links: | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 100 | ||
region: content | ||
hidden: | ||
search_api_excerpt: true |
31 changes: 31 additions & 0 deletions
31
config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
uuid: eacf0e3e-0783-44c6-9012-4c4c9e2b7c47 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.node.teaser | ||
- field.field.node.stanford_opportunity.body | ||
- node.type.stanford_opportunity | ||
module: | ||
- text | ||
- user | ||
id: node.stanford_opportunity.teaser | ||
targetEntityType: node | ||
bundle: stanford_opportunity | ||
mode: teaser | ||
content: | ||
body: | ||
type: text_summary_or_trimmed | ||
label: hidden | ||
settings: | ||
trim_length: 600 | ||
third_party_settings: { } | ||
weight: 101 | ||
region: content | ||
links: | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 100 | ||
region: content | ||
hidden: | ||
search_api_excerpt: true |
24 changes: 24 additions & 0 deletions
24
config/sync/field.field.node.stanford_opportunity.body.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
uuid: b6edd544-e694-4e8e-ae87-0496e4a56919 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.node.body | ||
- node.type.stanford_opportunity | ||
module: | ||
- text | ||
id: node.stanford_opportunity.body | ||
field_name: body | ||
entity_type: node | ||
bundle: stanford_opportunity | ||
label: Body | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: | ||
display_summary: true | ||
required_summary: false | ||
allowed_formats: { } | ||
field_type: text_with_summary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
uuid: fb8df97a-ba6b-4be8-9c6e-04af229698e0 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- menu_ui | ||
- node_revision_delete | ||
- scheduler | ||
third_party_settings: | ||
menu_ui: | ||
available_menus: { } | ||
parent: '' | ||
node_revision_delete: | ||
minimum_revisions_to_keep: 5 | ||
minimum_age_to_delete: 0 | ||
when_to_delete: 0 | ||
scheduler: | ||
expand_fieldset: when_required | ||
fields_display_mode: vertical_tab | ||
publish_enable: false | ||
publish_past_date: error | ||
publish_past_date_created: false | ||
publish_required: false | ||
publish_revision: false | ||
publish_touch: false | ||
show_message_after_update: true | ||
unpublish_enable: false | ||
unpublish_required: false | ||
unpublish_revision: false | ||
name: Opportunity | ||
type: stanford_opportunity | ||
description: 'A content type for opportunities like jobs, internships, fellowships, seminars, service opportunities, grants, funding options, and more.' | ||
help: null | ||
new_revision: true | ||
preview_mode: 0 | ||
display_submitted: false |
14 changes: 14 additions & 0 deletions
14
config/sync/rabbit_hole.behavior_settings.node_type_stanford_opportunity.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
uuid: d5881470-2bfa-4ba5-8cee-36d504c3ab8c | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.stanford_opportunity | ||
id: node_type_stanford_opportunity | ||
entity_type_id: node_type | ||
entity_id: stanford_opportunity | ||
action: display_page | ||
allow_override: 1 | ||
redirect: '' | ||
redirect_code: 301 | ||
redirect_fallback_action: access_denied |