diff --git a/config/sync/core.base_field_override.node.su_opportunity.promote.yml b/config/sync/core.base_field_override.node.su_opportunity.promote.yml new file mode 100644 index 000000000..299afea62 --- /dev/null +++ b/config/sync/core.base_field_override.node.su_opportunity.promote.yml @@ -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 diff --git a/config/sync/core.entity_form_display.node.stanford_opportunity.default b/config/sync/core.entity_form_display.node.stanford_opportunity.default new file mode 100644 index 000000000..fd43969b0 --- /dev/null +++ b/config/sync/core.entity_form_display.node.stanford_opportunity.default @@ -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 diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml new file mode 100644 index 000000000..9fe439030 --- /dev/null +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml @@ -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 diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml new file mode 100644 index 000000000..8c03da545 --- /dev/null +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml @@ -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 diff --git a/config/sync/field.field.node.stanford_opportunity.body.yml b/config/sync/field.field.node.stanford_opportunity.body.yml new file mode 100644 index 000000000..3ed13a65a --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.body.yml @@ -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 diff --git a/config/sync/node.type.stanford_opportunity.yml b/config/sync/node.type.stanford_opportunity.yml new file mode 100644 index 000000000..8dc852237 --- /dev/null +++ b/config/sync/node.type.stanford_opportunity.yml @@ -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 diff --git a/config/sync/rabbit_hole.behavior_settings.node_type_stanford_opportunity.yml b/config/sync/rabbit_hole.behavior_settings.node_type_stanford_opportunity.yml new file mode 100644 index 000000000..4675bc98e --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.node_type_stanford_opportunity.yml @@ -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