diff --git a/config/sync/core.base_field_override.node.stanford_opportunity.promote.yml b/config/sync/core.base_field_override.node.stanford_opportunity.promote.yml new file mode 100644 index 000000000..299afea62 --- /dev/null +++ b/config/sync/core.base_field_override.node.stanford_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.base_field_override.node.stanford_opportunity.status.yml b/config/sync/core.base_field_override.node.stanford_opportunity.status.yml new file mode 100644 index 000000000..e25bf7d86 --- /dev/null +++ b/config/sync/core.base_field_override.node.stanford_opportunity.status.yml @@ -0,0 +1,22 @@ +uuid: c9479551-b56c-4b02-a97b-1a9a8a0f5d33 +langcode: en +status: true +dependencies: + config: + - node.type.stanford_opportunity +id: node.stanford_opportunity.status +field_name: status +entity_type: node +bundle: stanford_opportunity +label: Published +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.yml b/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml new file mode 100644 index 000000000..19e5bcac3 --- /dev/null +++ b/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml @@ -0,0 +1,377 @@ +uuid: 8cc4d029-0e2f-405c-bae1-9220b871ef78 +langcode: en +status: true +dependencies: + config: + - field.field.node.stanford_opportunity.body + - field.field.node.stanford_opportunity.layout_builder__layout + - field.field.node.stanford_opportunity.su_opp_application_deadline + - field.field.node.stanford_opportunity.su_opp_components + - 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_contact_url + - 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_open_date + - field.field.node.stanford_opportunity.su_opp_prerequisites + - field.field.node.stanford_opportunity.su_opp_source + - field.field.node.stanford_opportunity.su_opp_sponsor + - 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 + - datetime + - field_formatter_class + - field_group + - layout_paragraphs + - link + - media_library + - path + - scheduler + - stanford_fields + - telephone + - text +third_party_settings: + field_group: + group_contact_information: + children: + - su_opp_contact_name + - su_opp_contact_email + - su_opp_contact_phone + - su_opp_contact_url + label: 'Contact Information' + region: content + parent_name: '' + weight: 4 + format_type: details + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + open: false + description: 'Contact information for this opportunity. Displays on the individual opportunity page.' + required_fields: true + group_taxonomy: + children: + - su_opp_type + - su_opp_prerequisites + - su_opp_eligibility + - su_opp_course_code + - su_opp_cta_url + - su_opp_learn_more + label: 'Opportunity Sidebar' + region: content + parent_name: '' + weight: 2 + format_type: details + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + open: false + description: 'This will be displayed on the sidebar' + required_fields: true + group_dates: + children: + - su_opp_status + - su_opp_open_date + - su_opp_application_deadline + - su_opp_start_date + label: 'Opportunity Dates & Deadlines' + region: content + parent_name: '' + weight: 3 + format_type: details + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + open: false + description: '' + required_fields: true + group_basics: + children: + - su_opp_image + - su_opp_sponsor + - su_opp_summary + - su_opp_source + - su_opp_tags + label: Basics + region: content + parent_name: '' + weight: 1 + format_type: details + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + open: false + description: '' + required_fields: true +id: node.stanford_opportunity.default +targetEntityType: node +bundle: stanford_opportunity +mode: default +content: + body: + type: text_textarea_with_summary + weight: 5 + region: content + settings: + rows: 9 + summary_rows: 3 + placeholder: '' + show_summary: false + third_party_settings: { } + created: + type: datetime_timestamp + weight: 9 + region: content + settings: { } + third_party_settings: { } + layout_builder__layout: + type: null + weight: 53 + region: content + settings: { } + third_party_settings: { } + path: + type: path + weight: 12 + region: content + settings: { } + third_party_settings: { } + promote: + type: boolean_checkbox + weight: 10 + region: content + settings: + display_label: true + third_party_settings: { } + publish_on: + type: datetime_timestamp_no_default + weight: 52 + region: content + settings: { } + third_party_settings: { } + scheduler_settings: + weight: 50 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 7 + region: content + settings: + display_label: true + third_party_settings: { } + sticky: + type: boolean_checkbox + weight: 11 + region: content + settings: + display_label: true + third_party_settings: { } + su_opp_application_deadline: + type: datetime_default + weight: 13 + region: content + settings: { } + third_party_settings: { } + su_opp_components: + type: layout_paragraphs + weight: 6 + region: content + settings: + view_mode: default + preview_view_mode: default + form_display_mode: default + nesting_depth: 0 + require_layouts: 1 + empty_message: '' + third_party_settings: + field_formatter_class: + class: '' + change_labels: + add_another: '' + field_label_overwrite: '' + hide_add_another: 0 + force_single_cardinality: 0 + su_opp_contact_email: + type: email_default + weight: 16 + region: content + settings: + placeholder: '' + size: 60 + third_party_settings: { } + su_opp_contact_name: + type: string_textfield + weight: 15 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + su_opp_contact_phone: + type: telephone_default + weight: 17 + region: content + settings: + placeholder: '' + third_party_settings: { } + su_opp_contact_url: + type: link_default + weight: 18 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + su_opp_course_code: + type: string_textfield + weight: 12 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + su_opp_cta_url: + type: link_default + weight: 13 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + su_opp_eligibility: + type: text_textarea + weight: 11 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + su_opp_image: + type: media_library_widget + weight: 2 + region: content + settings: + media_types: { } + third_party_settings: { } + su_opp_learn_more: + type: link_default + weight: 15 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + su_opp_open_date: + type: datetime_default + weight: 12 + region: content + settings: { } + third_party_settings: { } + su_opp_prerequisites: + type: text_textarea + weight: 10 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + su_opp_source: + type: link_default + weight: 5 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + su_opp_sponsor: + type: options_select + weight: 3 + region: content + settings: { } + third_party_settings: { } + su_opp_start_date: + type: datetime_default + weight: 14 + region: content + settings: { } + third_party_settings: { } + su_opp_status: + type: boolean_checkbox + weight: 11 + region: content + settings: + display_label: true + third_party_settings: { } + su_opp_summary: + type: text_textarea + weight: 4 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + su_opp_tags: + type: taxonomy_label_hierarchy + weight: 6 + region: content + settings: { } + 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: 9 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } + title: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + uid: + type: entity_reference_autocomplete + weight: 8 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } + url_redirects: + weight: 13 + region: content + settings: { } + third_party_settings: { } +hidden: + unpublish_on: true diff --git a/config/sync/core.entity_form_display.taxonomy_term.opportunity_sponsor.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_sponsor.default.yml new file mode 100644 index 000000000..1c839bdfa --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.opportunity_sponsor.default.yml @@ -0,0 +1,46 @@ +uuid: e4ab5585-8659-475d-b0ef-e13de49bfd51 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_sponsor + module: + - path + - text +id: taxonomy_term.opportunity_sponsor.default +targetEntityType: taxonomy_term +bundle: opportunity_sponsor +mode: default +content: + description: + type: text_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + name: + type: string_textfield + weight: -5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 100 + region: content + settings: + display_label: true + third_party_settings: { } +hidden: + publish_on: true + unpublish_on: true diff --git a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_filters.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_filters.default.yml new file mode 100644 index 000000000..5111860ac --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_filters.default.yml @@ -0,0 +1,46 @@ +uuid: 80cb931e-926c-4382-ac73-51f84844eb7e +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_filters + module: + - path + - text +id: taxonomy_term.opportunity_tag_filters.default +targetEntityType: taxonomy_term +bundle: opportunity_tag_filters +mode: default +content: + description: + type: text_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + name: + type: string_textfield + weight: -5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 100 + region: content + settings: + display_label: true + third_party_settings: { } +hidden: + publish_on: true + unpublish_on: true diff --git a/config/sync/core.entity_form_display.taxonomy_term.opportunity_type.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_type.default.yml new file mode 100644 index 000000000..72387891d --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.opportunity_type.default.yml @@ -0,0 +1,46 @@ +uuid: b025974f-fcbb-4c26-854b-0136cf511ecf +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_type + module: + - path + - text +id: taxonomy_term.opportunity_type.default +targetEntityType: taxonomy_term +bundle: opportunity_type +mode: default +content: + description: + type: text_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + name: + type: string_textfield + weight: -5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 100 + region: content + settings: + display_label: true + 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..9460689e8 --- /dev/null +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml @@ -0,0 +1,254 @@ +uuid: 46505eb5-a712-448f-9fd3-5cb6663a7706 +langcode: en +status: true +dependencies: + config: + - field.field.node.stanford_opportunity.body + - field.field.node.stanford_opportunity.layout_builder__layout + - field.field.node.stanford_opportunity.su_opp_application_deadline + - field.field.node.stanford_opportunity.su_opp_components + - 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_contact_url + - 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_open_date + - field.field.node.stanford_opportunity.su_opp_prerequisites + - field.field.node.stanford_opportunity.su_opp_source + - field.field.node.stanford_opportunity.su_opp_sponsor + - 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: + - jumpstart_ui + - layout_builder + - layout_builder_restrictions + - layout_library + - user +third_party_settings: + layout_builder: + enabled: true + allow_custom: true + sections: + - + layout_id: jumpstart_ui_one_column + layout_settings: + label: '' + context_mapping: { } + extra_classes: '' + centered: centered-container + columns: default + components: + d8d66e18-44f6-4e82-90c7-131eaf8e19de: + uuid: d8d66e18-44f6-4e82-90c7-131eaf8e19de + region: main + configuration: + id: 'field_block:node:stanford_opportunity:title' + label: Title + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: entity_title_heading + label: hidden + settings: + tag: h1 + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 0 + additional: { } + e712f81b-4aa1-4bc7-bb7f-5068acb3bbd1: + uuid: e712f81b-4aa1-4bc7-bb7f-5068acb3bbd1 + region: main + configuration: + id: 'field_block:node:stanford_opportunity:body' + label: Body + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: text_default + label: hidden + settings: { } + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 1 + additional: { } + 75a9a36d-20ef-46a1-aaf6-3fbe4814ec5b: + uuid: 75a9a36d-20ef-46a1-aaf6-3fbe4814ec5b + region: main + configuration: + id: 'field_block:node:stanford_opportunity:su_opp_components' + label: Paragraphs + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: layout_paragraphs + label: above + settings: + view_mode: default + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 2 + additional: { } + third_party_settings: { } + layout_library: + enable: false + layout_builder_restrictions: + allowed_block_categories: + - 'Basic Page Type Lists (Views)' + - Book + - 'Changelog (Views)' + - 'Chaos Tools' + - 'Config Pages' + - 'Content fields' + - 'Custom block types' + - 'Custom blocks' + - Devel + - 'Devel PHP' + - Editoria11y + - 'Events Lists (Views)' + - Forms + - Help + - 'Inline blocks' + - 'Jumpstart UI' + - 'Lists (Views)' + - Menus + - 'News Lists (Views)' + - 'PDB React' + - 'People Lists (Views)' + - 'Policy (Views)' + - Printable + - 'Publication (Views)' + - React + - 'Stanford News' + - 'Stanford Profile Helper' + - 'Stanford SAML Authentication' + - System + - 'Taxonomy Terms (Views)' + - User + - Views + - core + entity_view_mode_restriction: + allowed_layouts: + - jumpstart_ui_one_column + - jumpstart_ui_two_column + - jumpstart_ui_three_column + denylisted_blocks: { } + allowlisted_blocks: + 'Changelog (Views)': + - 'views_block:change_logs-policy_changes' + 'Content fields': + - 'field_block:node:stanford_opportunity:su_opp_application_deadline' + - 'field_block:node:stanford_opportunity:su_opp_open_date' + - 'field_block:node:stanford_opportunity:body' + - 'field_block:node:stanford_opportunity:su_opp_cta_url' + - 'field_block:node:stanford_opportunity:changed' + - 'field_block:node:stanford_opportunity:su_opp_status' + - 'field_block:node:stanford_opportunity:su_opp_contact_email' + - 'field_block:node:stanford_opportunity:su_opp_contact_url' + - 'field_block:node:stanford_opportunity:su_opp_contact_name' + - 'field_block:node:stanford_opportunity:su_opp_contact_phone' + - 'field_block:node:stanford_opportunity:su_opp_course_code' + - 'field_block:node:stanford_opportunity:su_opp_eligibility' + - 'field_block:node:stanford_opportunity:su_opp_source' + - 'field_block:node:stanford_opportunity:su_opp_image' + - 'field_block:node:stanford_opportunity:su_opp_learn_more' + - 'field_block:node:stanford_opportunity:su_opp_tags' + - 'field_block:node:stanford_opportunity:su_opp_type' + - 'field_block:node:stanford_opportunity:su_opp_components' + - 'field_block:node:stanford_opportunity:su_opp_prerequisites' + - 'field_block:node:stanford_opportunity:su_opp_sponsor' + - 'field_block:node:stanford_opportunity:su_opp_start_date' + - 'field_block:node:stanford_opportunity:su_opp_summary' + - 'field_block:node:stanford_opportunity:title' + Menus: + - 'system_menu_block:stanford-event-types' + - 'menu_block:main' + - 'system_menu_block:stanford-person-type' + - 'system_menu_block:stanford-publication-topics' + - 'system_menu_block:news-topics' + System: + - system_breadcrumb_block + core: + - page_title_block + restricted_categories: + - Book + - 'Chaos Tools' + - 'Config Pages' + - Devel + - 'Devel PHP' + - Editoria11y + - Forms + - Help + - 'Lists (Views)' + - 'Policy (Views)' + - Printable + - React + - 'Stanford Profile Helper' + - 'Stanford SAML Authentication' + - 'Taxonomy Terms (Views)' + - User + - Views +id: node.stanford_opportunity.default +targetEntityType: node +bundle: stanford_opportunity +mode: default +content: { } +hidden: + body: true + layout_builder__layout: true + links: true + search_api_excerpt: true + su_opp_application_deadline: true + su_opp_components: true + su_opp_contact_email: true + su_opp_contact_name: true + su_opp_contact_phone: true + su_opp_contact_url: 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_open_date: true + su_opp_prerequisites: true + su_opp_source: true + su_opp_sponsor: true + su_opp_start_date: true + su_opp_status: true + su_opp_summary: true + su_opp_tags: true + su_opp_type: true diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.search_indexing.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.search_indexing.yml new file mode 100644 index 000000000..4fe704b69 --- /dev/null +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.search_indexing.yml @@ -0,0 +1,93 @@ +uuid: 1916634a-c65b-4f14-a373-226322fb5d44 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.search_indexing + - field.field.node.stanford_opportunity.body + - field.field.node.stanford_opportunity.layout_builder__layout + - field.field.node.stanford_opportunity.su_opp_application_deadline + - field.field.node.stanford_opportunity.su_opp_components + - 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_contact_url + - 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_open_date + - field.field.node.stanford_opportunity.su_opp_prerequisites + - field.field.node.stanford_opportunity.su_opp_source + - field.field.node.stanford_opportunity.su_opp_sponsor + - 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: + - layout_builder + - layout_builder_restrictions + - layout_library + - layout_paragraphs + - text + - user +third_party_settings: + layout_builder: + enabled: false + allow_custom: false + layout_library: + enable: false + layout_builder_restrictions: + allowed_block_categories: { } + entity_view_mode_restriction: + allowed_layouts: { } + denylisted_blocks: { } + allowlisted_blocks: { } + restricted_categories: { } +id: node.stanford_opportunity.search_indexing +targetEntityType: node +bundle: stanford_opportunity +mode: search_indexing +content: + body: + type: text_default + label: hidden + settings: { } + third_party_settings: { } + weight: 0 + region: content + su_opp_components: + type: layout_paragraphs + label: hidden + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 1 + region: content +hidden: + layout_builder__layout: true + links: true + search_api_excerpt: true + su_opp_application_deadline: true + su_opp_contact_email: true + su_opp_contact_name: true + su_opp_contact_phone: true + su_opp_contact_url: 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_open_date: true + su_opp_prerequisites: true + su_opp_source: true + su_opp_sponsor: true + su_opp_start_date: true + su_opp_status: true + su_opp_summary: true + su_opp_tags: true + su_opp_type: true diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_card.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_card.yml new file mode 100644 index 000000000..a5eac0b0a --- /dev/null +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_card.yml @@ -0,0 +1,159 @@ +uuid: 7fcf8863-6439-478b-9c8e-412b0de21623 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.stanford_card + - field.field.node.stanford_opportunity.body + - field.field.node.stanford_opportunity.layout_builder__layout + - field.field.node.stanford_opportunity.su_opp_application_deadline + - field.field.node.stanford_opportunity.su_opp_components + - 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_contact_url + - 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_open_date + - field.field.node.stanford_opportunity.su_opp_prerequisites + - field.field.node.stanford_opportunity.su_opp_source + - field.field.node.stanford_opportunity.su_opp_sponsor + - 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: + - ds + - empty_fields + - field_formatter_class + - field_label + - layout_builder + - layout_builder_restrictions + - layout_library + - smart_trim + - stanford_media + - user +third_party_settings: + layout_builder: + enabled: false + allow_custom: false + layout_library: + enable: false + layout_builder_restrictions: + allowed_block_categories: { } + entity_view_mode_restriction: + allowed_layouts: { } + denylisted_blocks: { } + allowlisted_blocks: { } + restricted_categories: { } + ds: + layout: + id: pattern_card + library: null + disable_css: false + entity_classes: all_classes + settings: + pattern: + field_templates: default + variant: default + regions: + card_image: + - su_opp_image + card_headline: + - node_title + card_body: + - su_opp_summary + fields: + node_title: + plugin_id: node_title + weight: 1 + label: hidden + formatter: default + settings: + link: true + 'link class': '' + link_target: '' + wrapper: '' + class: su-card__link +id: node.stanford_opportunity.stanford_card +targetEntityType: node +bundle: stanford_opportunity +mode: stanford_card +content: + su_opp_image: + type: media_image_formatter + label: hidden + settings: + view_mode: default + link: true + image_style: card_1192x596 + remove_alt: false + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 0 + region: card_image + su_opp_summary: + type: smart_trim + label: hidden + settings: + trim_length: 50 + trim_type: words + trim_suffix: '' + wrap_output: false + wrap_class: trimmed + more: + display_link: false + target_blank: false + link_trim_only: false + class: more-link + text: More + aria_label: 'Read more about [node:title]' + summary_handler: full + trim_options: + text: false + trim_zero: false + replace_tokens: false + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 2 + region: card_body +hidden: + body: true + layout_builder__layout: true + links: true + search_api_excerpt: true + su_opp_application_deadline: true + su_opp_components: true + su_opp_contact_email: true + su_opp_contact_name: true + su_opp_contact_phone: true + su_opp_contact_url: true + su_opp_course_code: true + su_opp_cta_url: true + su_opp_eligibility: true + su_opp_learn_more: true + su_opp_open_date: true + su_opp_prerequisites: true + su_opp_source: true + su_opp_sponsor: true + su_opp_start_date: true + su_opp_status: true + su_opp_tags: true + su_opp_type: true diff --git a/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_h3_card.yml b/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_h3_card.yml new file mode 100644 index 000000000..32b56e207 --- /dev/null +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.stanford_h3_card.yml @@ -0,0 +1,158 @@ +uuid: c4b68950-875c-401e-8b29-7750098537cb +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.stanford_h3_card + - field.field.node.stanford_opportunity.body + - field.field.node.stanford_opportunity.layout_builder__layout + - field.field.node.stanford_opportunity.su_opp_application_deadline + - field.field.node.stanford_opportunity.su_opp_components + - 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_contact_url + - 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_open_date + - field.field.node.stanford_opportunity.su_opp_prerequisites + - field.field.node.stanford_opportunity.su_opp_source + - field.field.node.stanford_opportunity.su_opp_sponsor + - 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: + - ds + - empty_fields + - field_formatter_class + - field_label + - layout_builder + - layout_builder_restrictions + - layout_library + - smart_trim + - stanford_media + - user +third_party_settings: + layout_builder: + enabled: false + allow_custom: false + layout_library: + enable: false + layout_builder_restrictions: + allowed_block_categories: { } + entity_view_mode_restriction: + allowed_layouts: { } + denylisted_blocks: { } + allowlisted_blocks: { } + restricted_categories: { } + ds: + layout: + id: pattern_card + library: null + disable_css: false + entity_classes: all_classes + settings: + pattern: + field_templates: default + variant: default + regions: + card_image: + - su_opp_image + card_body: + - node_title + - su_opp_summary + fields: + node_title: + plugin_id: node_title + weight: 1 + label: hidden + formatter: default + settings: + link: true + 'link class': '' + link_target: '' + wrapper: h3 + class: su-card__link +id: node.stanford_opportunity.stanford_h3_card +targetEntityType: node +bundle: stanford_opportunity +mode: stanford_h3_card +content: + su_opp_image: + type: media_image_formatter + label: hidden + settings: + view_mode: default + link: true + image_style: card_1192x596 + remove_alt: false + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 0 + region: card_image + su_opp_summary: + type: smart_trim + label: hidden + settings: + trim_length: 50 + trim_type: words + trim_suffix: '' + wrap_output: false + wrap_class: trimmed + more: + display_link: false + target_blank: false + link_trim_only: false + class: more-link + text: More + aria_label: 'Read more about [node:title]' + summary_handler: full + trim_options: + text: false + trim_zero: false + replace_tokens: false + third_party_settings: + empty_fields: + handler: '' + field_formatter_class: + class: '' + field_label: + label_value: '' + label_tag: '' + weight: 2 + region: card_body +hidden: + body: true + layout_builder__layout: true + links: true + search_api_excerpt: true + su_opp_application_deadline: true + su_opp_components: true + su_opp_contact_email: true + su_opp_contact_name: true + su_opp_contact_phone: true + su_opp_contact_url: true + su_opp_course_code: true + su_opp_cta_url: true + su_opp_eligibility: true + su_opp_learn_more: true + su_opp_open_date: true + su_opp_prerequisites: true + su_opp_source: true + su_opp_sponsor: true + su_opp_start_date: true + su_opp_status: true + su_opp_tags: true + su_opp_type: 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..6ade819d9 --- /dev/null +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml @@ -0,0 +1,73 @@ +uuid: eacf0e3e-0783-44c6-9012-4c4c9e2b7c47 +langcode: en +status: false +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.stanford_opportunity.body + - field.field.node.stanford_opportunity.layout_builder__layout + - field.field.node.stanford_opportunity.su_opp_application_deadline + - field.field.node.stanford_opportunity.su_opp_components + - 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_contact_url + - 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_open_date + - field.field.node.stanford_opportunity.su_opp_prerequisites + - field.field.node.stanford_opportunity.su_opp_source + - field.field.node.stanford_opportunity.su_opp_sponsor + - 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: + - 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: + layout_builder__layout: true + search_api_excerpt: true + su_opp_application_deadline: true + su_opp_components: true + su_opp_contact_email: true + su_opp_contact_name: true + su_opp_contact_phone: true + su_opp_contact_url: 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_open_date: true + su_opp_prerequisites: true + su_opp_source: true + su_opp_sponsor: true + su_opp_start_date: true + su_opp_status: true + su_opp_summary: true + su_opp_tags: true + su_opp_type: 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/field.field.node.stanford_opportunity.layout_builder__layout.yml b/config/sync/field.field.node.stanford_opportunity.layout_builder__layout.yml new file mode 100644 index 000000000..c5df33805 --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.layout_builder__layout.yml @@ -0,0 +1,21 @@ +uuid: 3b4a0626-c0fd-4710-834d-848d18de6105 +langcode: en +status: true +dependencies: + config: + - field.storage.node.layout_builder__layout + - node.type.stanford_opportunity + module: + - layout_builder +id: node.stanford_opportunity.layout_builder__layout +field_name: layout_builder__layout +entity_type: node +bundle: stanford_opportunity +label: Layout +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: layout_section diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_application_deadline.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_application_deadline.yml new file mode 100644 index 000000000..e0434a2a6 --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_application_deadline.yml @@ -0,0 +1,21 @@ +uuid: dd0ddf8c-7c09-4139-b75c-daac2d1d3508 +langcode: en +status: true +dependencies: + config: + - field.storage.node.su_opp_application_deadline + - node.type.stanford_opportunity + module: + - datetime +id: node.stanford_opportunity.su_opp_application_deadline +field_name: su_opp_application_deadline +entity_type: node +bundle: stanford_opportunity +label: 'Application Deadline' +description: 'Enter the deadline for applying or signing up for this opportunity' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: datetime diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_components.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_components.yml new file mode 100644 index 000000000..81157d29c --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_components.yml @@ -0,0 +1,83 @@ +uuid: 78c24825-ee7e-498d-99bb-523a0d3d1280 +langcode: en +status: true +dependencies: + config: + - field.storage.node.su_opp_components + - node.type.stanford_opportunity + - paragraphs.paragraphs_type.stanford_banner + - paragraphs.paragraphs_type.stanford_card + - paragraphs.paragraphs_type.stanford_entity + - paragraphs.paragraphs_type.stanford_gallery + - paragraphs.paragraphs_type.stanford_layout + - paragraphs.paragraphs_type.stanford_lists + - paragraphs.paragraphs_type.stanford_media_caption + - paragraphs.paragraphs_type.stanford_spacer + - paragraphs.paragraphs_type.stanford_wysiwyg + module: + - entity_reference_revisions +id: node.stanford_opportunity.su_opp_components +field_name: su_opp_components +entity_type: node +bundle: stanford_opportunity +label: Paragraphs +description: 'Add additional content that displays under the body text on the Opportunity page.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + stanford_banner: stanford_banner + stanford_card: stanford_card + stanford_entity: stanford_entity + stanford_gallery: stanford_gallery + stanford_layout: stanford_layout + stanford_lists: stanford_lists + stanford_media_caption: stanford_media_caption + stanford_spacer: stanford_spacer + stanford_wysiwyg: stanford_wysiwyg + negate: 0 + target_bundles_drag_drop: + stanford_accordion: + weight: 14 + enabled: false + stanford_banner: + weight: 15 + enabled: true + stanford_card: + weight: 16 + enabled: true + stanford_entity: + weight: 17 + enabled: true + stanford_gallery: + weight: 18 + enabled: true + stanford_layout: + weight: 19 + enabled: true + stanford_lists: + weight: 20 + enabled: true + stanford_media_caption: + weight: 21 + enabled: true + stanford_page_title_banner: + weight: 22 + enabled: false + stanford_person_cta: + weight: 23 + enabled: false + stanford_schedule: + weight: 24 + enabled: false + stanford_spacer: + weight: 25 + enabled: true + stanford_wysiwyg: + weight: 26 + enabled: true +field_type: entity_reference_revisions diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_contact_email.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_contact_email.yml new file mode 100644 index 000000000..a2a18d93c --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_contact_email.yml @@ -0,0 +1,19 @@ +uuid: 5a7773ab-650c-4ae8-a93d-fbff005a3b4f +langcode: en +status: true +dependencies: + config: + - field.storage.node.su_opp_contact_email + - node.type.stanford_opportunity +id: node.stanford_opportunity.su_opp_contact_email +field_name: su_opp_contact_email +entity_type: node +bundle: stanford_opportunity +label: 'Contact Email' +description: 'Enter the primary contact email for this opportunity.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: email diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_contact_name.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_contact_name.yml new file mode 100644 index 000000000..0c15e0b87 --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_contact_name.yml @@ -0,0 +1,19 @@ +uuid: 9a1e4694-1e0c-4e27-a704-701ebc23cc44 +langcode: en +status: true +dependencies: + config: + - field.storage.node.su_opp_contact_name + - node.type.stanford_opportunity +id: node.stanford_opportunity.su_opp_contact_name +field_name: su_opp_contact_name +entity_type: node +bundle: stanford_opportunity +label: 'Contact Name' +description: 'Enter the name of the main contact for this Opportunity.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_contact_phone.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_contact_phone.yml new file mode 100644 index 000000000..fc9b554cb --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_contact_phone.yml @@ -0,0 +1,21 @@ +uuid: 4cbc49d4-caff-4bc2-acc7-bec8ec2bfd97 +langcode: en +status: true +dependencies: + config: + - field.storage.node.su_opp_contact_phone + - node.type.stanford_opportunity + module: + - telephone +id: node.stanford_opportunity.su_opp_contact_phone +field_name: su_opp_contact_phone +entity_type: node +bundle: stanford_opportunity +label: 'Contact Phone' +description: 'Enter the phone number for the main contact for this Opportunity.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: telephone diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_contact_url.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_contact_url.yml new file mode 100644 index 000000000..bfceedaac --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_contact_url.yml @@ -0,0 +1,23 @@ +uuid: 3d82c39a-14ce-497b-a9c0-66946ac3236b +langcode: en +status: true +dependencies: + config: + - field.storage.node.su_opp_contact_url + - node.type.stanford_opportunity + module: + - link +id: node.stanford_opportunity.su_opp_contact_url +field_name: su_opp_contact_url +entity_type: node +bundle: stanford_opportunity +label: 'Contact Link' +description: "Enter the site URL for the contact. Often this is the Opportunity Sponsor's site." +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + title: 2 + link_type: 17 +field_type: link diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_course_code.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_course_code.yml new file mode 100644 index 000000000..3efb58dd8 --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_course_code.yml @@ -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: 'If this opportunity is related to a course, enter the Course Code(s) (example: amstudies 13N, history 100, etc.)' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_cta_url.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_cta_url.yml new file mode 100644 index 000000000..8689128f5 --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_cta_url.yml @@ -0,0 +1,23 @@ +uuid: 491d8b27-49a7-4d16-be2f-f87b6bf9a17e +langcode: en +status: true +dependencies: + config: + - field.storage.node.su_opp_cta_url + - node.type.stanford_opportunity + module: + - link +id: node.stanford_opportunity.su_opp_cta_url +field_name: su_opp_cta_url +entity_type: node +bundle: stanford_opportunity +label: 'Call to Action' +description: 'Enter a URL to the main Call to Action for this opportunity. This could be the registration link, application form, page to schedule an appointment, etc.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + title: 2 + link_type: 17 +field_type: link diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_eligibility.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_eligibility.yml new file mode 100644 index 000000000..c2b442764 --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_eligibility.yml @@ -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 diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_image.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_image.yml new file mode 100644 index 000000000..8e1de030a --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_image.yml @@ -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 diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_learn_more.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_learn_more.yml new file mode 100644 index 000000000..9b8bcd0b3 --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_learn_more.yml @@ -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 diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_open_date.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_open_date.yml new file mode 100644 index 000000000..29142b4f5 --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_open_date.yml @@ -0,0 +1,21 @@ +uuid: 42483861-2075-4ed8-9a6e-0f755ada5246 +langcode: en +status: true +dependencies: + config: + - field.storage.node.su_opp_open_date + - node.type.stanford_opportunity + module: + - datetime +id: node.stanford_opportunity.su_opp_open_date +field_name: su_opp_open_date +entity_type: node +bundle: stanford_opportunity +label: 'Applications Open ' +description: 'The date that applications or registration is first available.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: datetime diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_prerequisites.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_prerequisites.yml new file mode 100644 index 000000000..382fcd990 --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_prerequisites.yml @@ -0,0 +1,24 @@ +uuid: da62aa94-53e8-4e78-bbd0-dff404d4bb6c +langcode: en +status: true +dependencies: + config: + - field.storage.node.su_opp_prerequisites + - filter.format.stanford_minimal_html + - node.type.stanford_opportunity + module: + - text +id: node.stanford_opportunity.su_opp_prerequisites +field_name: su_opp_prerequisites +entity_type: node +bundle: stanford_opportunity +label: Prerequisites +description: 'What are the prerequisites to participate in this opportunity?' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: + - stanford_minimal_html +field_type: text_long diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_source.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_source.yml new file mode 100644 index 000000000..ca4cf26ff --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_source.yml @@ -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: 16 +field_type: link diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_sponsor.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_sponsor.yml new file mode 100644 index 000000000..4d69f2824 --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_sponsor.yml @@ -0,0 +1,29 @@ +uuid: 3812b8d1-d227-48bd-9b7b-de91d5ede28c +langcode: en +status: true +dependencies: + config: + - field.storage.node.su_opp_sponsor + - node.type.stanford_opportunity + - taxonomy.vocabulary.opportunity_sponsor +id: node.stanford_opportunity.su_opp_sponsor +field_name: su_opp_sponsor +entity_type: node +bundle: stanford_opportunity +label: Sponsor +description: 'Who sponsors this opportunity.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + opportunity_sponsor: opportunity_sponsor + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_start_date.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_start_date.yml new file mode 100644 index 000000000..92deabc3c --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_start_date.yml @@ -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 diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_status.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_status.yml new file mode 100644 index 000000000..e694eafd6 --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_status.yml @@ -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: Closed +description: 'Status of the Opportunity. 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 diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_summary.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_summary.yml new file mode 100644 index 000000000..72c653d4d --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_summary.yml @@ -0,0 +1,24 @@ +uuid: ea4cad2c-4a77-470a-a008-b7468ca339b6 +langcode: en +status: true +dependencies: + config: + - field.storage.node.su_opp_summary + - filter.format.stanford_minimal_html + - node.type.stanford_opportunity + module: + - text +id: node.stanford_opportunity.su_opp_summary +field_name: su_opp_summary +entity_type: node +bundle: stanford_opportunity +label: Summary +description: 'Give a short summary about the Opportunity. This will appear on lists and teasers.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: + - stanford_minimal_html +field_type: text_long diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml new file mode 100644 index 000000000..84c4debb6 --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml @@ -0,0 +1,29 @@ +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_filters +id: node.stanford_opportunity.su_opp_tags +field_name: su_opp_tags +entity_type: node +bundle: stanford_opportunity +label: 'Opportunity Tags/Filters' +description: 'Enter the tags associated with this Opportunity. These will be used in cases where there is a filtered list of Opportunities.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + opportunity_tag_filters: opportunity_tag_filters + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: opportunity_tag_filters +field_type: entity_reference diff --git a/config/sync/field.field.node.stanford_opportunity.su_opp_type.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_type.yml new file mode 100644 index 000000000..92638cdfb --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_type.yml @@ -0,0 +1,29 @@ +uuid: ca54761f-4f3e-4ce8-9435-626ef99d3e11 +langcode: en +status: true +dependencies: + config: + - field.storage.node.su_opp_type + - node.type.stanford_opportunity + - taxonomy.vocabulary.opportunity_type +id: node.stanford_opportunity.su_opp_type +field_name: su_opp_type +entity_type: node +bundle: stanford_opportunity +label: 'Opportunity Type' +description: 'Used to categorize Opportunities.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + opportunity_type: opportunity_type + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.storage.node.su_opp_application_deadline.yml b/config/sync/field.storage.node.su_opp_application_deadline.yml new file mode 100644 index 000000000..6f00ee372 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_application_deadline.yml @@ -0,0 +1,20 @@ +uuid: 639d5c9c-f346-4765-ab87-5e62c0decda4 +langcode: en +status: true +dependencies: + module: + - datetime + - node +id: node.su_opp_application_deadline +field_name: su_opp_application_deadline +entity_type: node +type: datetime +settings: + datetime_type: datetime +module: datetime +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.su_opp_components.yml b/config/sync/field.storage.node.su_opp_components.yml new file mode 100644 index 000000000..3fe69d1dc --- /dev/null +++ b/config/sync/field.storage.node.su_opp_components.yml @@ -0,0 +1,21 @@ +uuid: 07e7bd3a-afbd-43d7-8c2d-542d9da0beb3 +langcode: en +status: true +dependencies: + module: + - entity_reference_revisions + - node + - paragraphs +id: node.su_opp_components +field_name: su_opp_components +entity_type: node +type: entity_reference_revisions +settings: + target_type: paragraph +module: entity_reference_revisions +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.su_opp_contact_email.yml b/config/sync/field.storage.node.su_opp_contact_email.yml new file mode 100644 index 000000000..cdd322da8 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_contact_email.yml @@ -0,0 +1,18 @@ +uuid: 3aa88b39-613c-4f5f-bbdf-a29546ea4af3 +langcode: en +status: true +dependencies: + module: + - node +id: node.su_opp_contact_email +field_name: su_opp_contact_email +entity_type: node +type: email +settings: { } +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.su_opp_contact_name.yml b/config/sync/field.storage.node.su_opp_contact_name.yml new file mode 100644 index 000000000..c89caf351 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_contact_name.yml @@ -0,0 +1,21 @@ +uuid: ee4bae85-57d7-448b-9098-c44f9a9ec419 +langcode: en +status: true +dependencies: + module: + - node +id: node.su_opp_contact_name +field_name: su_opp_contact_name +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 diff --git a/config/sync/field.storage.node.su_opp_contact_phone.yml b/config/sync/field.storage.node.su_opp_contact_phone.yml new file mode 100644 index 000000000..65d3c3fb0 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_contact_phone.yml @@ -0,0 +1,19 @@ +uuid: 3376ba45-5607-478a-af76-2db2e3c7a6ac +langcode: en +status: true +dependencies: + module: + - node + - telephone +id: node.su_opp_contact_phone +field_name: su_opp_contact_phone +entity_type: node +type: telephone +settings: { } +module: telephone +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.su_opp_contact_url.yml b/config/sync/field.storage.node.su_opp_contact_url.yml new file mode 100644 index 000000000..b06680599 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_contact_url.yml @@ -0,0 +1,19 @@ +uuid: 67d36500-d818-401d-a366-5435ae3ca01b +langcode: en +status: true +dependencies: + module: + - link + - node +id: node.su_opp_contact_url +field_name: su_opp_contact_url +entity_type: node +type: link +settings: { } +module: link +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.su_opp_course_code.yml b/config/sync/field.storage.node.su_opp_course_code.yml new file mode 100644 index 000000000..bac2b604f --- /dev/null +++ b/config/sync/field.storage.node.su_opp_course_code.yml @@ -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 diff --git a/config/sync/field.storage.node.su_opp_cta_url.yml b/config/sync/field.storage.node.su_opp_cta_url.yml new file mode 100644 index 000000000..6bbcd35e3 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_cta_url.yml @@ -0,0 +1,19 @@ +uuid: 83caf710-cdf5-4e30-9c3b-34a73b2b3dab +langcode: en +status: true +dependencies: + module: + - link + - node +id: node.su_opp_cta_url +field_name: su_opp_cta_url +entity_type: node +type: link +settings: { } +module: link +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.su_opp_eligibility.yml b/config/sync/field.storage.node.su_opp_eligibility.yml new file mode 100644 index 000000000..e519e9777 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_eligibility.yml @@ -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 diff --git a/config/sync/field.storage.node.su_opp_image.yml b/config/sync/field.storage.node.su_opp_image.yml new file mode 100644 index 000000000..32fc8951a --- /dev/null +++ b/config/sync/field.storage.node.su_opp_image.yml @@ -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 diff --git a/config/sync/field.storage.node.su_opp_learn_more.yml b/config/sync/field.storage.node.su_opp_learn_more.yml new file mode 100644 index 000000000..3c23e7857 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_learn_more.yml @@ -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 diff --git a/config/sync/field.storage.node.su_opp_open_date.yml b/config/sync/field.storage.node.su_opp_open_date.yml new file mode 100644 index 000000000..3e88a8107 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_open_date.yml @@ -0,0 +1,20 @@ +uuid: 2dfa675d-bef5-418c-83f4-c7c139fd0a5a +langcode: en +status: true +dependencies: + module: + - datetime + - node +id: node.su_opp_open_date +field_name: su_opp_open_date +entity_type: node +type: datetime +settings: + datetime_type: datetime +module: datetime +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.su_opp_prerequisites.yml b/config/sync/field.storage.node.su_opp_prerequisites.yml new file mode 100644 index 000000000..469f33a75 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_prerequisites.yml @@ -0,0 +1,19 @@ +uuid: bdad7f4d-8bb6-45ee-940a-c001c4846611 +langcode: en +status: true +dependencies: + module: + - node + - text +id: node.su_opp_prerequisites +field_name: su_opp_prerequisites +entity_type: node +type: text_long +settings: { } +module: text +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.su_opp_source.yml b/config/sync/field.storage.node.su_opp_source.yml new file mode 100644 index 000000000..6b164c2d3 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_source.yml @@ -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 diff --git a/config/sync/field.storage.node.su_opp_sponsor.yml b/config/sync/field.storage.node.su_opp_sponsor.yml new file mode 100644 index 000000000..06ef5af83 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_sponsor.yml @@ -0,0 +1,20 @@ +uuid: b2c36db3-7f3f-4e31-b057-abb00545a512 +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +id: node.su_opp_sponsor +field_name: su_opp_sponsor +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 diff --git a/config/sync/field.storage.node.su_opp_start_date.yml b/config/sync/field.storage.node.su_opp_start_date.yml new file mode 100644 index 000000000..b283705f0 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_start_date.yml @@ -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 diff --git a/config/sync/field.storage.node.su_opp_status.yml b/config/sync/field.storage.node.su_opp_status.yml new file mode 100644 index 000000000..95330f48a --- /dev/null +++ b/config/sync/field.storage.node.su_opp_status.yml @@ -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 diff --git a/config/sync/field.storage.node.su_opp_summary.yml b/config/sync/field.storage.node.su_opp_summary.yml new file mode 100644 index 000000000..4d95b089f --- /dev/null +++ b/config/sync/field.storage.node.su_opp_summary.yml @@ -0,0 +1,19 @@ +uuid: 81ba840e-d274-4c7e-88e0-5f18e904c0bf +langcode: en +status: true +dependencies: + module: + - node + - text +id: node.su_opp_summary +field_name: su_opp_summary +entity_type: node +type: text_long +settings: { } +module: text +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.su_opp_tags.yml b/config/sync/field.storage.node.su_opp_tags.yml new file mode 100644 index 000000000..2ab0eb9b6 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_tags.yml @@ -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 diff --git a/config/sync/field.storage.node.su_opp_type.yml b/config/sync/field.storage.node.su_opp_type.yml new file mode 100644 index 000000000..23f213399 --- /dev/null +++ b/config/sync/field.storage.node.su_opp_type.yml @@ -0,0 +1,20 @@ +uuid: 81307077-a767-4a37-b42c-c40aa4e0db7e +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +id: node.su_opp_type +field_name: su_opp_type +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 diff --git a/config/sync/node.type.stanford_opportunity.yml b/config/sync/node.type.stanford_opportunity.yml new file mode 100644 index 000000000..f71e20572 --- /dev/null +++ b/config/sync/node.type.stanford_opportunity.yml @@ -0,0 +1,37 @@ +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: + - main + parent: 'main:' + 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: true + publish_past_date: error + publish_past_date_created: false + publish_required: false + publish_revision: false + publish_touch: false + show_message_after_update: false + 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/pathauto.pattern.opportunity_nodes.yml b/config/sync/pathauto.pattern.opportunity_nodes.yml new file mode 100644 index 000000000..018e75bcd --- /dev/null +++ b/config/sync/pathauto.pattern.opportunity_nodes.yml @@ -0,0 +1,22 @@ +uuid: df51e9ce-8c30-45df-b567-5a684958ceeb +langcode: en +status: true +dependencies: + module: + - node +id: opportunity_nodes +label: 'Opportunity Nodes' +type: 'canonical_entities:node' +pattern: 'opportunities/[node:title]' +selection_criteria: + 11c425f0-6864-4af2-868f-f9a89ebb71df: + id: 'entity_bundle:node' + negate: false + uuid: 11c425f0-6864-4af2-868f-f9a89ebb71df + context_mapping: + node: node + bundles: + stanford_opportunity: stanford_opportunity +selection_logic: and +weight: -5 +relationships: { } 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..8f5a7c14d --- /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: page_redirect +allow_override: 0 +redirect: '[node:su_opp_source:uri]' +redirect_code: 301 +redirect_fallback_action: display_page diff --git a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_sponsor.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_sponsor.yml new file mode 100644 index 000000000..f03fec0d4 --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_sponsor.yml @@ -0,0 +1,14 @@ +uuid: 7c6683e3-37ed-4976-819b-78d7f756afca +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_sponsor +id: taxonomy_vocabulary_opportunity_sponsor +entity_type_id: taxonomy_vocabulary +entity_id: opportunity_sponsor +action: display_page +allow_override: 1 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_filters.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_filters.yml new file mode 100644 index 000000000..c7a5e47e3 --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_filters.yml @@ -0,0 +1,14 @@ +uuid: 29e1229f-e17f-4166-b6f8-dcfc5aaa6c5b +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_filters +id: taxonomy_vocabulary_opportunity_tag_filters +entity_type_id: taxonomy_vocabulary +entity_id: opportunity_tag_filters +action: display_page +allow_override: 1 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_type.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_type.yml new file mode 100644 index 000000000..cc3d469e3 --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_type.yml @@ -0,0 +1,14 @@ +uuid: f1250e24-f5b7-43b9-bf1c-d23d47017cf3 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_type +id: taxonomy_vocabulary_opportunity_type +entity_type_id: taxonomy_vocabulary +entity_id: opportunity_type +action: display_page +allow_override: 1 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/config/sync/samlauth.authentication.yml b/config/sync/samlauth.authentication.yml index 09f1ca3a9..31059adba 100644 --- a/config/sync/samlauth.authentication.yml +++ b/config/sync/samlauth.authentication.yml @@ -40,16 +40,19 @@ map_users_name: true map_users_mail: true map_users_roles: administrator: administrator - stanford_faculty: stanford_faculty - stanford_staff: stanford_staff - stanford_student: stanford_student + anonymous: anonymous contributor: contributor - site_manager: site_manager - site_editor: site_editor + opportunity_editor: opportunity_editor + decoupled_site_users: decoupled_site_users + layout_builder_user: layout_builder_user site_builder: site_builder site_developer: site_developer - layout_builder_user: layout_builder_user - decoupled_site_users: decoupled_site_users + site_editor: site_editor + site_manager: site_manager + stanford_faculty: stanford_faculty + stanford_staff: stanford_staff + stanford_student: stanford_student + su_site_embedder: su_site_embedder create_users: true sync_name: true sync_mail: true diff --git a/config/sync/search_api.index.algolia_search.yml b/config/sync/search_api.index.algolia_search.yml index bf355f36c..eec17f6a1 100644 --- a/config/sync/search_api.index.algolia_search.yml +++ b/config/sync/search_api.index.algolia_search.yml @@ -3,18 +3,18 @@ langcode: en status: false dependencies: config: + - field.storage.node.su_event_audience - field.storage.node.su_basic_page_type - field.storage.node.su_course_subject - - field.storage.node.su_event_audience - field.storage.node.su_event_date_time - - field.storage.node.su_event_subject - field.storage.node.su_event_type - - field.storage.node.su_news_topics - field.storage.node.su_person_full_title - - field.storage.node.su_person_short_title + - field.storage.node.su_news_topics - field.storage.node.su_person_type_group - field.storage.node.su_publication_topics - field.storage.node.su_shared_tags + - field.storage.node.su_person_short_title + - field.storage.node.su_event_subject - search_api.server.algolia_search - core.entity_view_mode.node.search_indexing module: @@ -132,6 +132,7 @@ field_settings: stanford_event: search_indexing stanford_event_series: search_indexing stanford_news: search_indexing + stanford_opportunity: search_indexing stanford_page: search_indexing stanford_person: search_indexing stanford_policy: search_indexing diff --git a/config/sync/search_api.index.full_site_content.yml b/config/sync/search_api.index.full_site_content.yml index 3cd50d872..51d69561f 100644 --- a/config/sync/search_api.index.full_site_content.yml +++ b/config/sync/search_api.index.full_site_content.yml @@ -41,6 +41,7 @@ field_settings: stanford_event: search_indexing stanford_event_series: search_indexing stanford_news: search_indexing + stanford_opportunity: search_indexing stanford_page: search_indexing stanford_person: search_indexing stanford_policy: search_indexing diff --git a/config/sync/system.action.user_add_role_action.opportunity_editor.yml b/config/sync/system.action.user_add_role_action.opportunity_editor.yml new file mode 100644 index 000000000..2f00ab505 --- /dev/null +++ b/config/sync/system.action.user_add_role_action.opportunity_editor.yml @@ -0,0 +1,14 @@ +uuid: 51fe3b5b-b3d2-43d5-9cfb-f0aacefa51b9 +langcode: en +status: true +dependencies: + config: + - user.role.opportunity_editor + module: + - user +id: user_add_role_action.opportunity_editor +label: 'Add the Opportunity Editor role to the selected user(s)' +type: user +plugin: user_add_role_action +configuration: + rid: opportunity_editor diff --git a/config/sync/system.action.user_remove_role_action.opportunity_editor.yml b/config/sync/system.action.user_remove_role_action.opportunity_editor.yml new file mode 100644 index 000000000..f053f2b76 --- /dev/null +++ b/config/sync/system.action.user_remove_role_action.opportunity_editor.yml @@ -0,0 +1,14 @@ +uuid: 1c657bca-791f-400c-9c22-775d9fc71b39 +langcode: en +status: true +dependencies: + config: + - user.role.opportunity_editor + module: + - user +id: user_remove_role_action.opportunity_editor +label: 'Remove the Opportunity Editor role from the selected user(s)' +type: user +plugin: user_remove_role_action +configuration: + rid: opportunity_editor diff --git a/config/sync/taxonomy.vocabulary.opportunity_sponsor.yml b/config/sync/taxonomy.vocabulary.opportunity_sponsor.yml new file mode 100644 index 000000000..0d994f10e --- /dev/null +++ b/config/sync/taxonomy.vocabulary.opportunity_sponsor.yml @@ -0,0 +1,28 @@ +uuid: a25a0776-532d-4f89-8323-567840c66a36 +langcode: en +status: true +dependencies: + module: + - flat_taxonomy + - scheduler +third_party_settings: + flat_taxonomy: + flat: 1 + 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 Sponsor' +vid: opportunity_sponsor +description: null +weight: 0 +new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_filters.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_filters.yml new file mode 100644 index 000000000..f15f95dc2 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.opportunity_tag_filters.yml @@ -0,0 +1,25 @@ +uuid: 6bd22067-d9e5-43ac-9206-6c511941d713 +langcode: en +status: true +dependencies: + module: + - scheduler +third_party_settings: + 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 Filters' +vid: opportunity_tag_filters +description: null +weight: 0 +new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_type.yml b/config/sync/taxonomy.vocabulary.opportunity_type.yml new file mode 100644 index 000000000..a387b42c0 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.opportunity_type.yml @@ -0,0 +1,25 @@ +uuid: 3764a55a-d05f-42ca-96c8-3a0e6769a755 +langcode: en +status: true +dependencies: + module: + - scheduler +third_party_settings: + 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' +vid: opportunity_type +description: null +weight: 0 +new_revision: false diff --git a/config/sync/user.role.opportunity_editor.yml b/config/sync/user.role.opportunity_editor.yml new file mode 100644 index 000000000..7f584b9d7 --- /dev/null +++ b/config/sync/user.role.opportunity_editor.yml @@ -0,0 +1,36 @@ +uuid: 484eba31-f5a6-43f2-a22f-dce16500c1c8 +langcode: en +status: true +dependencies: + config: + - node.type.stanford_opportunity + - taxonomy.vocabulary.opportunity_sponsor + - taxonomy.vocabulary.opportunity_tag_filters + - taxonomy.vocabulary.opportunity_type + module: + - node + - role_delegation + - taxonomy + - view_unpublished +id: opportunity_editor +label: 'Opportunity Editor' +weight: 3 +is_admin: null +permissions: + - 'assign opportunity_editor role' + - 'create stanford_opportunity content' + - 'create terms in opportunity_sponsor' + - 'create terms in opportunity_tag_filters' + - 'create terms in opportunity_type' + - 'delete any stanford_opportunity content' + - 'delete own stanford_opportunity content' + - 'delete stanford_opportunity revisions' + - 'delete terms in opportunity_sponsor' + - 'delete terms in opportunity_tag_filters' + - 'delete terms in opportunity_type' + - 'edit any stanford_opportunity content' + - 'edit own stanford_opportunity content' + - 'edit terms in opportunity_tag_filters' + - 'revert stanford_opportunity revisions' + - 'view any unpublished stanford_opportunity content' + - 'view stanford_opportunity revisions' diff --git a/tests/codeception/acceptance/Content/OpportunityCest.php b/tests/codeception/acceptance/Content/OpportunityCest.php new file mode 100644 index 000000000..b7a057734 --- /dev/null +++ b/tests/codeception/acceptance/Content/OpportunityCest.php @@ -0,0 +1,57 @@ +faker = Factory::create(); + } + + public function testContentAccess(AcceptanceTester $I) { + $I->logInWithRole('site_manager'); + $I->amOnPage('/node/add'); + $I->cantSee('Opportunity'); + $I->amOnPage('/admin/structure/taxonomy'); + $I->cantSee('Opportunity'); + $I->amOnPage('/user/logout'); + $I->click('Log out', 'form'); + + $I->logInWithRole('contibutor'); + $I->amOnPage('/node/add'); + $I->cantSee('Opportunity'); + $I->amOnPage('/admin/structure/taxonomy'); + $I->cantSee('Opportunity'); + $I->amOnPage('/user/logout'); + $I->click('Log out', 'form'); + + $user = $I->createUserWithRoles(['site_manager', 'opportunity_editor']); + $I->logInAs($user->getAccountName()); + $I->amOnPage('/node/add'); + $I->canSee('Opportunity'); + $I->amOnPage('/admin/structure/taxonomy'); + $I->canSee('Opportunity'); + $I->amOnPage('/admin/structure/taxonomy/manage/opportunity_tag_filters/add'); + $I->canSeeInField('Name', ''); + $I->amOnPage('/admin/structure/taxonomy/manage/opportunity_sponsor/add'); + $I->canSeeInField('Name', ''); + $I->amOnPage('/admin/structure/taxonomy/manage/opportunity_type/add'); + $I->canSeeInField('Name', ''); + } + +} diff --git a/tests/codeception/functional/Content/OpportunityCest.php b/tests/codeception/functional/Content/OpportunityCest.php new file mode 100644 index 000000000..c13551f52 --- /dev/null +++ b/tests/codeception/functional/Content/OpportunityCest.php @@ -0,0 +1,92 @@ +faker = Factory::create(); + } + + public function testContentType(FunctionalTester $I) { + $parent_1 = $I->createEntity([ + 'vid' => 'opportunity_tag_filters', + 'name' => $this->faker->words(2, TRUE), + 'weight' => 0, + ], 'taxonomy_term'); + $parent_2 = $I->createEntity([ + 'vid' => 'opportunity_tag_filters', + 'name' => $this->faker->words(2, TRUE), + 'weight' => 10, + ], 'taxonomy_term'); + + $child_1_1 = $I->createEntity([ + 'vid' => 'opportunity_tag_filters', + 'name' => $this->faker->words(2, TRUE), + 'parent' => $parent_1->id(), + ], 'taxonomy_term'); + + $child_1_2 = $I->createEntity([ + 'vid' => 'opportunity_tag_filters', + 'name' => $this->faker->words(2, TRUE), + 'parent' => $parent_1->id(), + ], 'taxonomy_term'); + + $child_2_1 = $I->createEntity([ + 'vid' => 'opportunity_tag_filters', + 'name' => $this->faker->words(2, TRUE), + 'parent' => $parent_2->id(), + ], 'taxonomy_term'); + + $child_2_2 = $I->createEntity([ + 'vid' => 'opportunity_tag_filters', + 'name' => $this->faker->words(2, TRUE), + 'parent' => $child_2_1->id(), + ], 'taxonomy_term'); + + $node = $I->createEntity([ + 'type' => 'stanford_opportunity', + 'title' => $this->faker->words(3, TRUE), + ]); + + $user = $I->createUserWithRoles(['site_manager', 'opportunity_editor']); + $I->logInAs($user->getAccountName()); + + $I->amOnPage($node->toUrl('edit-form')->toString()); + $I->click('#edit-group-basics summary'); + $I->canSee($parent_1->label(), 'legend'); + $I->canSee($parent_2->label(), 'legend'); + + $parent_1_id = preg_replace('@[^a-z0-9_.]+@', '_', mb_strtolower($parent_1->label())); + $parent_2_id = preg_replace('@[^a-z0-9_.]+@', '_', mb_strtolower($parent_2->label())); + + $I->selectOption("#$parent_1_id select.simpler-select", $child_1_1->label()); + $I->click('Add More', "#$parent_1_id"); + $I->waitForElementVisible("#$parent_1_id [class*='1-target-id'] select.simpler-select"); + $I->selectOption("#$parent_1_id [class*='1-target-id'] select.simpler-select", $child_1_2->label()); + + $I->selectOption("#$parent_2_id select.simpler-select", $child_2_1->label()); + + $I->waitForElementVisible("#$parent_2_id [class*='--level-1'] select.simpler-select"); + $I->selectOption("#$parent_2_id [class*='--level-1'] select.simpler-select", $child_2_2->label()); + + $I->click('Save'); + $I->canSee($node->label(), 'h1'); + } + +}