From 653a9e15de03fbcb7df2524b677a8c3ff71819e2 Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Wed, 7 Aug 2024 00:09:39 -0600 Subject: [PATCH 01/20] d8core-5741: fields first pass (#800) --- ...d_override.node.su_opportunity.promote.yml | 22 +++++ ..._display.node.stanford_opportunity.default | 84 +++++++++++++++++++ ...play.node.stanford_opportunity.default.yml | 29 +++++++ ...splay.node.stanford_opportunity.teaser.yml | 31 +++++++ ...d.field.node.stanford_opportunity.body.yml | 24 ++++++ .../sync/node.type.stanford_opportunity.yml | 36 ++++++++ ...ettings.node_type_stanford_opportunity.yml | 14 ++++ 7 files changed, 240 insertions(+) create mode 100644 config/sync/core.base_field_override.node.su_opportunity.promote.yml create mode 100644 config/sync/core.entity_form_display.node.stanford_opportunity.default create mode 100644 config/sync/core.entity_view_display.node.stanford_opportunity.default.yml create mode 100644 config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.body.yml create mode 100644 config/sync/node.type.stanford_opportunity.yml create mode 100644 config/sync/rabbit_hole.behavior_settings.node_type_stanford_opportunity.yml 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 From 6c821eb5544f5b57732b70e8d78373a78d22996b Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Sat, 10 Aug 2024 08:59:49 -0700 Subject: [PATCH 02/20] d8core-5741: role for opportunity content type --- config/sync/samlauth.authentication.yml | 17 +++++++------ ...ser_add_role_action.opportunity_editor.yml | 14 +++++++++++ ..._remove_role_action.opportunity_editor.yml | 14 +++++++++++ config/sync/user.role.opportunity_editor.yml | 25 +++++++++++++++++++ 4 files changed, 63 insertions(+), 7 deletions(-) create mode 100644 config/sync/system.action.user_add_role_action.opportunity_editor.yml create mode 100644 config/sync/system.action.user_remove_role_action.opportunity_editor.yml create mode 100644 config/sync/user.role.opportunity_editor.yml 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/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/user.role.opportunity_editor.yml b/config/sync/user.role.opportunity_editor.yml new file mode 100644 index 000000000..4ef9146ee --- /dev/null +++ b/config/sync/user.role.opportunity_editor.yml @@ -0,0 +1,25 @@ +uuid: 484eba31-f5a6-43f2-a22f-dce16500c1c8 +langcode: en +status: true +dependencies: + config: + - node.type.stanford_opportunity + module: + - node + - role_delegation + - view_unpublished +id: opportunity_editor +label: 'Opportunity Editor' +weight: 3 +is_admin: null +permissions: + - 'assign opportunity_editor role' + - 'create stanford_opportunity content' + - 'delete any stanford_opportunity content' + - 'delete own stanford_opportunity content' + - 'delete stanford_opportunity revisions' + - 'edit any stanford_opportunity content' + - 'edit own stanford_opportunity content' + - 'revert stanford_opportunity revisions' + - 'view any unpublished stanford_opportunity content' + - 'view stanford_opportunity revisions' From 9c32d3aa5e148ba196127950ecfdcef0e81e9080 Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Sat, 10 Aug 2024 20:12:08 -0700 Subject: [PATCH 03/20] d8core-5741: taxonomy, part 1 --- ...onomy_term.opportunity_sponsor.default.yml | 46 +++++++++++++++++++ ...taxonomy_term.opportunity_type.default.yml | 46 +++++++++++++++++++ ...axonomy_vocabulary_opportunity_sponsor.yml | 14 ++++++ ...s.taxonomy_vocabulary_opportunity_type.yml | 14 ++++++ ...axonomy.vocabulary.opportunity_sponsor.yml | 28 +++++++++++ .../taxonomy.vocabulary.opportunity_type.yml | 25 ++++++++++ config/sync/user.role.opportunity_editor.yml | 7 +++ 7 files changed, 180 insertions(+) create mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_sponsor.default.yml create mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_type.default.yml create mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_sponsor.yml create mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_type.yml create mode 100644 config/sync/taxonomy.vocabulary.opportunity_sponsor.yml create mode 100644 config/sync/taxonomy.vocabulary.opportunity_type.yml 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_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/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_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/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_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 index 4ef9146ee..3523948d5 100644 --- a/config/sync/user.role.opportunity_editor.yml +++ b/config/sync/user.role.opportunity_editor.yml @@ -4,9 +4,12 @@ status: true dependencies: config: - node.type.stanford_opportunity + - taxonomy.vocabulary.opportunity_sponsor + - taxonomy.vocabulary.opportunity_type module: - node - role_delegation + - taxonomy - view_unpublished id: opportunity_editor label: 'Opportunity Editor' @@ -15,9 +18,13 @@ is_admin: null permissions: - 'assign opportunity_editor role' - 'create stanford_opportunity content' + - 'create terms in opportunity_sponsor' + - '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_type' - 'edit any stanford_opportunity content' - 'edit own stanford_opportunity content' - 'revert stanford_opportunity revisions' From cc3b5e7f9810fb6d625e590200dbd92170ecb0d4 Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Sat, 10 Aug 2024 20:59:23 -0700 Subject: [PATCH 04/20] d8core-5741: first of the geeneric taxonomy vocabs --- ...axonomy_term.opportunity_tag_1.default.yml | 46 +++++++++++++++++++ ...axonomy_term.opportunity_tag_2.default.yml | 46 +++++++++++++++++++ ...axonomy_term.opportunity_tag_3.default.yml | 46 +++++++++++++++++++ ...axonomy_term.opportunity_tag_4.default.yml | 46 +++++++++++++++++++ ....taxonomy_vocabulary_opportunity_tag_1.yml | 14 ++++++ ....taxonomy_vocabulary_opportunity_tag_2.yml | 14 ++++++ ....taxonomy_vocabulary_opportunity_tag_3.yml | 14 ++++++ ....taxonomy_vocabulary_opportunity_tag_4.yml | 14 ++++++ .../taxonomy.vocabulary.opportunity_tag_1.yml | 28 +++++++++++ .../taxonomy.vocabulary.opportunity_tag_2.yml | 28 +++++++++++ .../taxonomy.vocabulary.opportunity_tag_3.yml | 28 +++++++++++ .../taxonomy.vocabulary.opportunity_tag_4.yml | 28 +++++++++++ config/sync/user.role.opportunity_editor.yml | 12 +++++ 13 files changed, 364 insertions(+) create mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_1.default.yml create mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_2.default.yml create mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_3.default.yml create mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_4.default.yml create mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_1.yml create mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_2.yml create mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_3.yml create mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_4.yml create mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_1.yml create mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_2.yml create mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_3.yml create mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_4.yml diff --git a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_1.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_1.default.yml new file mode 100644 index 000000000..66180637d --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_1.default.yml @@ -0,0 +1,46 @@ +uuid: 80cb931e-926c-4382-ac73-51f84844eb7e +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_1 + module: + - path + - text +id: taxonomy_term.opportunity_tag_1.default +targetEntityType: taxonomy_term +bundle: opportunity_tag_1 +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_2.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_2.default.yml new file mode 100644 index 000000000..c74dcdf10 --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_2.default.yml @@ -0,0 +1,46 @@ +uuid: 91ce03c5-d803-4fc3-87d2-bf8678fa3fd1 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_2 + module: + - path + - text +id: taxonomy_term.opportunity_tag_2.default +targetEntityType: taxonomy_term +bundle: opportunity_tag_2 +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_3.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_3.default.yml new file mode 100644 index 000000000..8a2728b96 --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_3.default.yml @@ -0,0 +1,46 @@ +uuid: 00103c9f-5a28-4866-8837-d826dcc0b200 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_3 + module: + - path + - text +id: taxonomy_term.opportunity_tag_3.default +targetEntityType: taxonomy_term +bundle: opportunity_tag_3 +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_4.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_4.default.yml new file mode 100644 index 000000000..1460f0899 --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_4.default.yml @@ -0,0 +1,46 @@ +uuid: c1dda8db-f9ad-4ef9-b5a3-7823bc93f33b +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_4 + module: + - path + - text +id: taxonomy_term.opportunity_tag_4.default +targetEntityType: taxonomy_term +bundle: opportunity_tag_4 +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/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_1.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_1.yml new file mode 100644 index 000000000..c4688747c --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_1.yml @@ -0,0 +1,14 @@ +uuid: 29e1229f-e17f-4166-b6f8-dcfc5aaa6c5b +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_1 +id: taxonomy_vocabulary_opportunity_tag_1 +entity_type_id: taxonomy_vocabulary +entity_id: opportunity_tag_1 +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_2.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_2.yml new file mode 100644 index 000000000..f6f148b18 --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_2.yml @@ -0,0 +1,14 @@ +uuid: 8c706698-4edf-49e4-a8e8-45b0dad3fb4e +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_2 +id: taxonomy_vocabulary_opportunity_tag_2 +entity_type_id: taxonomy_vocabulary +entity_id: opportunity_tag_2 +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_3.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_3.yml new file mode 100644 index 000000000..cb3917072 --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_3.yml @@ -0,0 +1,14 @@ +uuid: 1da8a27c-a428-432f-a122-e028e72f2818 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_3 +id: taxonomy_vocabulary_opportunity_tag_3 +entity_type_id: taxonomy_vocabulary +entity_id: opportunity_tag_3 +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_4.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_4.yml new file mode 100644 index 000000000..55fe9fb05 --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_4.yml @@ -0,0 +1,14 @@ +uuid: 0e964261-58d7-424a-9ce1-96cf2242c8fa +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_4 +id: taxonomy_vocabulary_opportunity_tag_4 +entity_type_id: taxonomy_vocabulary +entity_id: opportunity_tag_4 +action: display_page +allow_override: 1 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_1.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_1.yml new file mode 100644 index 000000000..a0e9aac06 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.opportunity_tag_1.yml @@ -0,0 +1,28 @@ +uuid: 6bd22067-d9e5-43ac-9206-6c511941d713 +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 Tag 1' +vid: opportunity_tag_1 +description: null +weight: 0 +new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_2.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_2.yml new file mode 100644 index 000000000..bf6d34f15 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.opportunity_tag_2.yml @@ -0,0 +1,28 @@ +uuid: 652f3e57-f0b2-44d4-9da5-ec237af384b6 +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 Tag 2' +vid: opportunity_tag_2 +description: null +weight: 0 +new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_3.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_3.yml new file mode 100644 index 000000000..9e8d855c0 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.opportunity_tag_3.yml @@ -0,0 +1,28 @@ +uuid: 0f9ea81b-cfaf-4100-b43e-382ec08f0025 +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 Tag 3' +vid: opportunity_tag_3 +description: null +weight: 0 +new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_4.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_4.yml new file mode 100644 index 000000000..b80d6ed60 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.opportunity_tag_4.yml @@ -0,0 +1,28 @@ +uuid: 8ef8f9f2-ae5b-4033-acd5-9422ed666569 +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 Tag 4' +vid: opportunity_tag_4 +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 index 3523948d5..3e5498190 100644 --- a/config/sync/user.role.opportunity_editor.yml +++ b/config/sync/user.role.opportunity_editor.yml @@ -5,6 +5,10 @@ dependencies: config: - node.type.stanford_opportunity - taxonomy.vocabulary.opportunity_sponsor + - taxonomy.vocabulary.opportunity_tag_1 + - taxonomy.vocabulary.opportunity_tag_2 + - taxonomy.vocabulary.opportunity_tag_3 + - taxonomy.vocabulary.opportunity_tag_4 - taxonomy.vocabulary.opportunity_type module: - node @@ -19,11 +23,19 @@ permissions: - 'assign opportunity_editor role' - 'create stanford_opportunity content' - 'create terms in opportunity_sponsor' + - 'create terms in opportunity_tag_1' + - 'create terms in opportunity_tag_2' + - 'create terms in opportunity_tag_3' + - 'create terms in opportunity_tag_4' - '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_1' + - 'delete terms in opportunity_tag_2' + - 'delete terms in opportunity_tag_3' + - 'delete terms in opportunity_tag_4' - 'delete terms in opportunity_type' - 'edit any stanford_opportunity content' - 'edit own stanford_opportunity content' From 18b93ebdd37b377e016add1a2a528ad3432e0e82 Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Sat, 10 Aug 2024 21:23:12 -0700 Subject: [PATCH 05/20] d8core-5741: permission fixes --- config/sync/user.role.opportunity_editor.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/sync/user.role.opportunity_editor.yml b/config/sync/user.role.opportunity_editor.yml index 3e5498190..c9e918da4 100644 --- a/config/sync/user.role.opportunity_editor.yml +++ b/config/sync/user.role.opportunity_editor.yml @@ -39,6 +39,10 @@ permissions: - 'delete terms in opportunity_type' - 'edit any stanford_opportunity content' - 'edit own stanford_opportunity content' + - 'edit terms in opportunity_tag_1' + - 'edit terms in opportunity_tag_2' + - 'edit terms in opportunity_tag_3' + - 'edit terms in opportunity_tag_4' - 'revert stanford_opportunity revisions' - 'view any unpublished stanford_opportunity content' - 'view stanford_opportunity revisions' From 18edf04a545a7cdfbd0a3784fb7b498fb0f95eb4 Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Sat, 10 Aug 2024 21:42:26 -0700 Subject: [PATCH 06/20] d8core-5741: the rest of the vocabs --- ...xonomy_term.opportunity_tag_10.default.yml | 46 +++++++++++++++++++ ...axonomy_term.opportunity_tag_5.default.yml | 46 +++++++++++++++++++ ...axonomy_term.opportunity_tag_6.default.yml | 46 +++++++++++++++++++ ...axonomy_term.opportunity_tag_7.default.yml | 46 +++++++++++++++++++ ...axonomy_term.opportunity_tag_8.default.yml | 46 +++++++++++++++++++ ...axonomy_term.opportunity_tag_9.default.yml | 46 +++++++++++++++++++ ...taxonomy_vocabulary_opportunity_tag_10.yml | 14 ++++++ ....taxonomy_vocabulary_opportunity_tag_5.yml | 14 ++++++ ....taxonomy_vocabulary_opportunity_tag_6.yml | 14 ++++++ ....taxonomy_vocabulary_opportunity_tag_7.yml | 14 ++++++ ....taxonomy_vocabulary_opportunity_tag_8.yml | 14 ++++++ ....taxonomy_vocabulary_opportunity_tag_9.yml | 14 ++++++ ...taxonomy.vocabulary.opportunity_tag_10.yml | 28 +++++++++++ .../taxonomy.vocabulary.opportunity_tag_5.yml | 28 +++++++++++ .../taxonomy.vocabulary.opportunity_tag_6.yml | 28 +++++++++++ .../taxonomy.vocabulary.opportunity_tag_7.yml | 28 +++++++++++ .../taxonomy.vocabulary.opportunity_tag_8.yml | 28 +++++++++++ .../taxonomy.vocabulary.opportunity_tag_9.yml | 28 +++++++++++ config/sync/user.role.opportunity_editor.yml | 24 ++++++++++ 19 files changed, 552 insertions(+) create mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_10.default.yml create mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_5.default.yml create mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_6.default.yml create mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_7.default.yml create mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_8.default.yml create mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_9.default.yml create mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_10.yml create mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_5.yml create mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_6.yml create mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_7.yml create mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_8.yml create mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_9.yml create mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_10.yml create mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_5.yml create mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_6.yml create mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_7.yml create mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_8.yml create mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_9.yml diff --git a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_10.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_10.default.yml new file mode 100644 index 000000000..3dfa75593 --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_10.default.yml @@ -0,0 +1,46 @@ +uuid: c3693888-ac16-4750-b605-68927d56b68c +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_10 + module: + - path + - text +id: taxonomy_term.opportunity_tag_10.default +targetEntityType: taxonomy_term +bundle: opportunity_tag_10 +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_5.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_5.default.yml new file mode 100644 index 000000000..640513653 --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_5.default.yml @@ -0,0 +1,46 @@ +uuid: 242d6440-1fe5-47c8-be95-dc8f55f3a5cd +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_5 + module: + - path + - text +id: taxonomy_term.opportunity_tag_5.default +targetEntityType: taxonomy_term +bundle: opportunity_tag_5 +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_6.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_6.default.yml new file mode 100644 index 000000000..0fc149c36 --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_6.default.yml @@ -0,0 +1,46 @@ +uuid: 15b8498d-cb4d-402c-a817-5ffcccf0c5b3 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_6 + module: + - path + - text +id: taxonomy_term.opportunity_tag_6.default +targetEntityType: taxonomy_term +bundle: opportunity_tag_6 +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_7.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_7.default.yml new file mode 100644 index 000000000..1263a6428 --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_7.default.yml @@ -0,0 +1,46 @@ +uuid: afe2b4fc-7acf-4f24-916d-f1efbe6cfe61 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_7 + module: + - path + - text +id: taxonomy_term.opportunity_tag_7.default +targetEntityType: taxonomy_term +bundle: opportunity_tag_7 +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_8.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_8.default.yml new file mode 100644 index 000000000..f87dbe9ac --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_8.default.yml @@ -0,0 +1,46 @@ +uuid: 8d40f306-f1fe-44ed-bf88-ca6a61331900 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_8 + module: + - path + - text +id: taxonomy_term.opportunity_tag_8.default +targetEntityType: taxonomy_term +bundle: opportunity_tag_8 +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_9.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_9.default.yml new file mode 100644 index 000000000..800796639 --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_9.default.yml @@ -0,0 +1,46 @@ +uuid: 76015c45-bee3-4b25-a64e-dc0246abe4fd +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_9 + module: + - path + - text +id: taxonomy_term.opportunity_tag_9.default +targetEntityType: taxonomy_term +bundle: opportunity_tag_9 +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/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_10.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_10.yml new file mode 100644 index 000000000..376cf3937 --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_10.yml @@ -0,0 +1,14 @@ +uuid: 0551316c-5ef8-43fb-9742-70a3064b61ea +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_10 +id: taxonomy_vocabulary_opportunity_tag_10 +entity_type_id: taxonomy_vocabulary +entity_id: opportunity_tag_10 +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_5.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_5.yml new file mode 100644 index 000000000..4bdcf3a4a --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_5.yml @@ -0,0 +1,14 @@ +uuid: 9957c3de-6a13-4de3-84b2-535802a8da9d +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_5 +id: taxonomy_vocabulary_opportunity_tag_5 +entity_type_id: taxonomy_vocabulary +entity_id: opportunity_tag_5 +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_6.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_6.yml new file mode 100644 index 000000000..aabbfa2fe --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_6.yml @@ -0,0 +1,14 @@ +uuid: 38af10bd-8ce0-4708-8580-bc69e8eefc3c +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_6 +id: taxonomy_vocabulary_opportunity_tag_6 +entity_type_id: taxonomy_vocabulary +entity_id: opportunity_tag_6 +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_7.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_7.yml new file mode 100644 index 000000000..3be0c8cc9 --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_7.yml @@ -0,0 +1,14 @@ +uuid: aa4adf8a-187c-4703-9815-cfa7a0c17917 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_7 +id: taxonomy_vocabulary_opportunity_tag_7 +entity_type_id: taxonomy_vocabulary +entity_id: opportunity_tag_7 +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_8.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_8.yml new file mode 100644 index 000000000..7ebd794d5 --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_8.yml @@ -0,0 +1,14 @@ +uuid: e909ebde-f945-4777-9272-01e1c0eb6f02 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_8 +id: taxonomy_vocabulary_opportunity_tag_8 +entity_type_id: taxonomy_vocabulary +entity_id: opportunity_tag_8 +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_9.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_9.yml new file mode 100644 index 000000000..6d4486793 --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_9.yml @@ -0,0 +1,14 @@ +uuid: de6fa039-fa67-47c4-b587-646433315ab9 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.opportunity_tag_9 +id: taxonomy_vocabulary_opportunity_tag_9 +entity_type_id: taxonomy_vocabulary +entity_id: opportunity_tag_9 +action: display_page +allow_override: 1 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_10.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_10.yml new file mode 100644 index 000000000..7b151c8e8 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.opportunity_tag_10.yml @@ -0,0 +1,28 @@ +uuid: dc52869c-7d54-4a0b-a2a5-ed6ae92ea02a +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 Tag 10' +vid: opportunity_tag_10 +description: null +weight: 0 +new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_5.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_5.yml new file mode 100644 index 000000000..e10ae6586 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.opportunity_tag_5.yml @@ -0,0 +1,28 @@ +uuid: efad4340-ebe2-4f54-9995-85d4afa05e9d +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 Tag 5' +vid: opportunity_tag_5 +description: null +weight: 0 +new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_6.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_6.yml new file mode 100644 index 000000000..9f3f562b8 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.opportunity_tag_6.yml @@ -0,0 +1,28 @@ +uuid: 81c7d91a-65c9-40c5-b2c5-ed468cd59a29 +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 Tag 6' +vid: opportunity_tag_6 +description: null +weight: 0 +new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_7.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_7.yml new file mode 100644 index 000000000..a6dc792ba --- /dev/null +++ b/config/sync/taxonomy.vocabulary.opportunity_tag_7.yml @@ -0,0 +1,28 @@ +uuid: 49879f9d-a235-4ec2-a7c7-cc14bd7e822e +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 Tag 7' +vid: opportunity_tag_7 +description: null +weight: 0 +new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_8.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_8.yml new file mode 100644 index 000000000..0e8fa3a31 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.opportunity_tag_8.yml @@ -0,0 +1,28 @@ +uuid: a576eeb3-2c1f-4d6c-a378-38b6cd1f0de5 +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 Tag 8' +vid: opportunity_tag_8 +description: null +weight: 0 +new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_9.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_9.yml new file mode 100644 index 000000000..a7141fc40 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.opportunity_tag_9.yml @@ -0,0 +1,28 @@ +uuid: 731a4a0b-1f15-46b0-bda9-a88428ca8f5e +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 Tag 9' +vid: opportunity_tag_9 +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 index c9e918da4..bacd5624f 100644 --- a/config/sync/user.role.opportunity_editor.yml +++ b/config/sync/user.role.opportunity_editor.yml @@ -6,9 +6,15 @@ dependencies: - node.type.stanford_opportunity - taxonomy.vocabulary.opportunity_sponsor - taxonomy.vocabulary.opportunity_tag_1 + - taxonomy.vocabulary.opportunity_tag_10 - taxonomy.vocabulary.opportunity_tag_2 - taxonomy.vocabulary.opportunity_tag_3 - taxonomy.vocabulary.opportunity_tag_4 + - taxonomy.vocabulary.opportunity_tag_5 + - taxonomy.vocabulary.opportunity_tag_6 + - taxonomy.vocabulary.opportunity_tag_7 + - taxonomy.vocabulary.opportunity_tag_8 + - taxonomy.vocabulary.opportunity_tag_9 - taxonomy.vocabulary.opportunity_type module: - node @@ -24,25 +30,43 @@ permissions: - 'create stanford_opportunity content' - 'create terms in opportunity_sponsor' - 'create terms in opportunity_tag_1' + - 'create terms in opportunity_tag_10' - 'create terms in opportunity_tag_2' - 'create terms in opportunity_tag_3' - 'create terms in opportunity_tag_4' + - 'create terms in opportunity_tag_5' + - 'create terms in opportunity_tag_6' + - 'create terms in opportunity_tag_7' + - 'create terms in opportunity_tag_8' + - 'create terms in opportunity_tag_9' - '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_1' + - 'delete terms in opportunity_tag_10' - 'delete terms in opportunity_tag_2' - 'delete terms in opportunity_tag_3' - 'delete terms in opportunity_tag_4' + - 'delete terms in opportunity_tag_5' + - 'delete terms in opportunity_tag_6' + - 'delete terms in opportunity_tag_7' + - 'delete terms in opportunity_tag_8' + - 'delete terms in opportunity_tag_9' - 'delete terms in opportunity_type' - 'edit any stanford_opportunity content' - 'edit own stanford_opportunity content' - 'edit terms in opportunity_tag_1' + - 'edit terms in opportunity_tag_10' - 'edit terms in opportunity_tag_2' - 'edit terms in opportunity_tag_3' - 'edit terms in opportunity_tag_4' + - 'edit terms in opportunity_tag_5' + - 'edit terms in opportunity_tag_6' + - 'edit terms in opportunity_tag_7' + - 'edit terms in opportunity_tag_8' + - 'edit terms in opportunity_tag_9' - 'revert stanford_opportunity revisions' - 'view any unpublished stanford_opportunity content' - 'view stanford_opportunity revisions' From 8371b0641aafb21a7bd0c844ec7181d27314582c Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Sun, 11 Aug 2024 11:39:10 -0700 Subject: [PATCH 07/20] d8core-5741: first five fields --- ...lay.node.stanford_opportunity.default.yml} | 59 +++++++++++++++---- ...play.node.stanford_opportunity.default.yml | 50 ++++++++++++++++ ...splay.node.stanford_opportunity.teaser.yml | 10 ++++ ...pportunity.su_opp_application_deadline.yml | 21 +++++++ ...nford_opportunity.su_opp_contact_email.yml | 19 ++++++ ...anford_opportunity.su_opp_contact_name.yml | 19 ++++++ ...nford_opportunity.su_opp_contact_phone.yml | 21 +++++++ ...de.stanford_opportunity.su_opp_cta_url.yml | 23 ++++++++ ...orage.node.su_opp_application_deadline.yml | 20 +++++++ ...ield.storage.node.su_opp_contact_email.yml | 18 ++++++ ...field.storage.node.su_opp_contact_name.yml | 21 +++++++ ...ield.storage.node.su_opp_contact_phone.yml | 19 ++++++ .../field.storage.node.su_opp_cta_url.yml | 19 ++++++ 13 files changed, 307 insertions(+), 12 deletions(-) rename config/sync/{core.entity_form_display.node.stanford_opportunity.default => core.entity_form_display.node.stanford_opportunity.default.yml} (57%) create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_application_deadline.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_contact_email.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_contact_name.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_contact_phone.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_cta_url.yml create mode 100644 config/sync/field.storage.node.su_opp_application_deadline.yml create mode 100644 config/sync/field.storage.node.su_opp_contact_email.yml create mode 100644 config/sync/field.storage.node.su_opp_contact_name.yml create mode 100644 config/sync/field.storage.node.su_opp_contact_phone.yml create mode 100644 config/sync/field.storage.node.su_opp_cta_url.yml diff --git a/config/sync/core.entity_form_display.node.stanford_opportunity.default b/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml similarity index 57% rename from config/sync/core.entity_form_display.node.stanford_opportunity.default rename to config/sync/core.entity_form_display.node.stanford_opportunity.default.yml index fd43969b0..dd94dc7b7 100644 --- a/config/sync/core.entity_form_display.node.stanford_opportunity.default +++ b/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml @@ -1,28 +1,25 @@ -uuid: 239d0417-271d-4acf-adb7-414be7d3e428 +uuid: 8cc4d029-0e2f-405c-bae1-9220b871ef78 langcode: en status: true dependencies: config: - field.field.node.stanford_opportunity.body + - field.field.node.stanford_opportunity.su_opp_application_deadline + - 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_cta_url - node.type.stanford_opportunity module: + - datetime + - link - path - - text + - telephone 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 @@ -56,6 +53,43 @@ content: settings: display_label: true third_party_settings: { } + su_opp_application_deadline: + type: datetime_default + weight: 121 + region: content + settings: { } + third_party_settings: { } + su_opp_contact_email: + type: email_default + weight: 123 + region: content + settings: + placeholder: '' + size: 60 + third_party_settings: { } + su_opp_contact_name: + type: string_textfield + weight: 124 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + su_opp_contact_phone: + type: telephone_default + weight: 125 + region: content + settings: + placeholder: '' + third_party_settings: { } + su_opp_cta_url: + type: link_default + weight: 122 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } title: type: string_textfield weight: -5 @@ -80,5 +114,6 @@ content: settings: { } third_party_settings: { } hidden: + body: true 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 index 9fe439030..b85c4cfe7 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml @@ -4,8 +4,15 @@ status: true dependencies: config: - field.field.node.stanford_opportunity.body + - field.field.node.stanford_opportunity.su_opp_application_deadline + - 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_cta_url - node.type.stanford_opportunity module: + - datetime + - link - text - user id: node.stanford_opportunity.default @@ -25,5 +32,48 @@ content: third_party_settings: { } weight: 100 region: content + su_opp_application_deadline: + type: datetime_default + label: above + settings: + timezone_override: '' + format_type: medium + third_party_settings: { } + weight: 102 + region: content + su_opp_contact_email: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 104 + region: content + su_opp_contact_name: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 105 + region: content + su_opp_contact_phone: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 106 + region: content + su_opp_cta_url: + type: link + label: above + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 103 + 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 index 8c03da545..24b08c61e 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml @@ -5,6 +5,11 @@ dependencies: config: - core.entity_view_mode.node.teaser - field.field.node.stanford_opportunity.body + - field.field.node.stanford_opportunity.su_opp_application_deadline + - 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_cta_url - node.type.stanford_opportunity module: - text @@ -29,3 +34,8 @@ content: region: content hidden: 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_cta_url: true 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_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_cta_url.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_cta_url.yml new file mode 100644 index 000000000..b1123bd60 --- /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: 1 + link_type: 17 +field_type: link 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_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_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 From 067835a5e543c1b56e7d1e2d5fde5ac46caf3649 Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Sun, 11 Aug 2024 13:48:20 -0700 Subject: [PATCH 08/20] d8core-5741: next 5 fields --- ...play.node.stanford_opportunity.default.yml | 44 ++++++++++++++++ ...play.node.stanford_opportunity.default.yml | 50 +++++++++++++++++++ ...splay.node.stanford_opportunity.teaser.yml | 10 ++++ ...tanford_opportunity.su_opp_course_code.yml | 19 +++++++ ...tanford_opportunity.su_opp_eligibility.yml | 24 +++++++++ ...node.stanford_opportunity.su_opp_image.yml | 29 +++++++++++ ...stanford_opportunity.su_opp_learn_more.yml | 23 +++++++++ ...stanford_opportunity.su_opp_start_date.yml | 21 ++++++++ .../field.storage.node.su_opp_course_code.yml | 21 ++++++++ .../field.storage.node.su_opp_eligibility.yml | 19 +++++++ .../sync/field.storage.node.su_opp_image.yml | 20 ++++++++ .../field.storage.node.su_opp_learn_more.yml | 19 +++++++ .../field.storage.node.su_opp_start_date.yml | 20 ++++++++ 13 files changed, 319 insertions(+) create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_course_code.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_eligibility.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_image.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_learn_more.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_start_date.yml create mode 100644 config/sync/field.storage.node.su_opp_course_code.yml create mode 100644 config/sync/field.storage.node.su_opp_eligibility.yml create mode 100644 config/sync/field.storage.node.su_opp_image.yml create mode 100644 config/sync/field.storage.node.su_opp_learn_more.yml create mode 100644 config/sync/field.storage.node.su_opp_start_date.yml 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 index dd94dc7b7..b44997180 100644 --- a/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml @@ -8,13 +8,20 @@ dependencies: - field.field.node.stanford_opportunity.su_opp_contact_email - field.field.node.stanford_opportunity.su_opp_contact_name - field.field.node.stanford_opportunity.su_opp_contact_phone + - field.field.node.stanford_opportunity.su_opp_course_code - field.field.node.stanford_opportunity.su_opp_cta_url + - field.field.node.stanford_opportunity.su_opp_eligibility + - field.field.node.stanford_opportunity.su_opp_image + - field.field.node.stanford_opportunity.su_opp_learn_more + - field.field.node.stanford_opportunity.su_opp_start_date - node.type.stanford_opportunity module: - datetime - link + - media_library - path - telephone + - text id: node.stanford_opportunity.default targetEntityType: node bundle: stanford_opportunity @@ -82,6 +89,14 @@ content: settings: placeholder: '' third_party_settings: { } + su_opp_course_code: + type: string_textfield + weight: 126 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } su_opp_cta_url: type: link_default weight: 122 @@ -90,6 +105,35 @@ content: placeholder_url: '' placeholder_title: '' third_party_settings: { } + su_opp_eligibility: + type: text_textarea + weight: 128 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + su_opp_image: + type: media_library_widget + weight: 129 + region: content + settings: + media_types: { } + third_party_settings: { } + su_opp_learn_more: + type: link_default + weight: 130 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + su_opp_start_date: + type: datetime_default + weight: 127 + region: content + settings: { } + third_party_settings: { } title: type: string_textfield weight: -5 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 index b85c4cfe7..1b63d9eea 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml @@ -8,7 +8,12 @@ dependencies: - field.field.node.stanford_opportunity.su_opp_contact_email - field.field.node.stanford_opportunity.su_opp_contact_name - field.field.node.stanford_opportunity.su_opp_contact_phone + - field.field.node.stanford_opportunity.su_opp_course_code - field.field.node.stanford_opportunity.su_opp_cta_url + - field.field.node.stanford_opportunity.su_opp_eligibility + - field.field.node.stanford_opportunity.su_opp_image + - field.field.node.stanford_opportunity.su_opp_learn_more + - field.field.node.stanford_opportunity.su_opp_start_date - node.type.stanford_opportunity module: - datetime @@ -63,6 +68,14 @@ content: third_party_settings: { } weight: 106 region: content + su_opp_course_code: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 107 + region: content su_opp_cta_url: type: link label: above @@ -75,5 +88,42 @@ content: third_party_settings: { } weight: 103 region: content + su_opp_eligibility: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 109 + region: content + su_opp_image: + type: entity_reference_entity_view + label: above + settings: + view_mode: default + link: false + third_party_settings: { } + weight: 110 + region: content + su_opp_learn_more: + type: link + label: above + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 111 + region: content + su_opp_start_date: + type: datetime_default + label: above + settings: + timezone_override: '' + format_type: medium + third_party_settings: { } + weight: 108 + region: content hidden: search_api_excerpt: true 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 index 24b08c61e..296da56b1 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml @@ -9,7 +9,12 @@ dependencies: - field.field.node.stanford_opportunity.su_opp_contact_email - field.field.node.stanford_opportunity.su_opp_contact_name - field.field.node.stanford_opportunity.su_opp_contact_phone + - field.field.node.stanford_opportunity.su_opp_course_code - field.field.node.stanford_opportunity.su_opp_cta_url + - field.field.node.stanford_opportunity.su_opp_eligibility + - field.field.node.stanford_opportunity.su_opp_image + - field.field.node.stanford_opportunity.su_opp_learn_more + - field.field.node.stanford_opportunity.su_opp_start_date - node.type.stanford_opportunity module: - text @@ -38,4 +43,9 @@ hidden: su_opp_contact_email: true su_opp_contact_name: true su_opp_contact_phone: true + su_opp_course_code: true su_opp_cta_url: true + su_opp_eligibility: true + su_opp_image: true + su_opp_learn_more: true + su_opp_start_date: true 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..67ff6e782 --- /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: '' +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_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_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.storage.node.su_opp_course_code.yml b/config/sync/field.storage.node.su_opp_course_code.yml new file mode 100644 index 000000000..ef91cbdc4 --- /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_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_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 From 276f37546605d091236cb211261d63352f4c6825 Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Sun, 11 Aug 2024 14:07:27 -0700 Subject: [PATCH 09/20] d8core-5741: next 2 fields --- ...play.node.stanford_opportunity.default.yml | 17 +++++++++++++ ...play.node.stanford_opportunity.default.yml | 24 +++++++++++++++++++ ...splay.node.stanford_opportunity.teaser.yml | 4 ++++ ...ode.stanford_opportunity.su_opp_source.yml | 23 ++++++++++++++++++ ...ode.stanford_opportunity.su_opp_status.yml | 21 ++++++++++++++++ .../sync/field.storage.node.su_opp_source.yml | 19 +++++++++++++++ .../sync/field.storage.node.su_opp_status.yml | 18 ++++++++++++++ 7 files changed, 126 insertions(+) create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_source.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_status.yml create mode 100644 config/sync/field.storage.node.su_opp_source.yml create mode 100644 config/sync/field.storage.node.su_opp_status.yml 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 index b44997180..9e9447f99 100644 --- a/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml @@ -13,7 +13,9 @@ dependencies: - field.field.node.stanford_opportunity.su_opp_eligibility - field.field.node.stanford_opportunity.su_opp_image - field.field.node.stanford_opportunity.su_opp_learn_more + - field.field.node.stanford_opportunity.su_opp_source - field.field.node.stanford_opportunity.su_opp_start_date + - field.field.node.stanford_opportunity.su_opp_status - node.type.stanford_opportunity module: - datetime @@ -128,12 +130,27 @@ content: placeholder_url: '' placeholder_title: '' third_party_settings: { } + su_opp_source: + type: link_default + weight: 131 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } su_opp_start_date: type: datetime_default weight: 127 region: content settings: { } third_party_settings: { } + su_opp_status: + type: boolean_checkbox + weight: 132 + region: content + settings: + display_label: true + third_party_settings: { } title: type: string_textfield weight: -5 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 index 1b63d9eea..38b5a4dbf 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml @@ -13,7 +13,9 @@ dependencies: - field.field.node.stanford_opportunity.su_opp_eligibility - field.field.node.stanford_opportunity.su_opp_image - field.field.node.stanford_opportunity.su_opp_learn_more + - field.field.node.stanford_opportunity.su_opp_source - field.field.node.stanford_opportunity.su_opp_start_date + - field.field.node.stanford_opportunity.su_opp_status - node.type.stanford_opportunity module: - datetime @@ -116,6 +118,18 @@ content: third_party_settings: { } weight: 111 region: content + su_opp_source: + type: link + label: above + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 112 + region: content su_opp_start_date: type: datetime_default label: above @@ -125,5 +139,15 @@ content: third_party_settings: { } weight: 108 region: content + su_opp_status: + type: boolean + label: above + settings: + format: default + format_custom_false: '' + format_custom_true: '' + third_party_settings: { } + weight: 113 + region: content hidden: search_api_excerpt: true 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 index 296da56b1..003982228 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml @@ -14,7 +14,9 @@ dependencies: - field.field.node.stanford_opportunity.su_opp_eligibility - field.field.node.stanford_opportunity.su_opp_image - field.field.node.stanford_opportunity.su_opp_learn_more + - field.field.node.stanford_opportunity.su_opp_source - field.field.node.stanford_opportunity.su_opp_start_date + - field.field.node.stanford_opportunity.su_opp_status - node.type.stanford_opportunity module: - text @@ -48,4 +50,6 @@ hidden: su_opp_eligibility: true su_opp_image: true su_opp_learn_more: true + su_opp_source: true su_opp_start_date: true + su_opp_status: true 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..8c289bfcb --- /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: 17 +field_type: link 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..58fde8e6a --- /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: 'Opportunity Status' +description: 'Check this box if the Opportunity should be listed as "Closed."' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + on_label: Closed + off_label: Open +field_type: boolean 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_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 From 2211cb730b2954ed8accaa8a5c727b6e08431cca Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Mon, 12 Aug 2024 11:32:53 -0600 Subject: [PATCH 10/20] d8core-5741: 5 more fields --- ...play.node.stanford_opportunity.default.yml | 54 ++++++++++++ ...play.node.stanford_opportunity.default.yml | 50 +++++++++++ ...splay.node.stanford_opportunity.teaser.yml | 10 +++ ...stanford_opportunity.su_opp_components.yml | 83 +++++++++++++++++++ ...tanford_opportunity.su_opp_contact_url.yml | 23 +++++ ....stanford_opportunity.su_opp_open_date.yml | 21 +++++ ...nford_opportunity.su_opp_prerequisites.yml | 24 ++++++ ...de.stanford_opportunity.su_opp_summary.yml | 24 ++++++ .../field.storage.node.su_opp_components.yml | 21 +++++ .../field.storage.node.su_opp_contact_url.yml | 19 +++++ .../field.storage.node.su_opp_open_date.yml | 20 +++++ ...ield.storage.node.su_opp_prerequisites.yml | 19 +++++ .../field.storage.node.su_opp_summary.yml | 19 +++++ 13 files changed, 387 insertions(+) create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_components.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_contact_url.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_open_date.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_prerequisites.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_summary.yml create mode 100644 config/sync/field.storage.node.su_opp_components.yml create mode 100644 config/sync/field.storage.node.su_opp_contact_url.yml create mode 100644 config/sync/field.storage.node.su_opp_open_date.yml create mode 100644 config/sync/field.storage.node.su_opp_prerequisites.yml create mode 100644 config/sync/field.storage.node.su_opp_summary.yml 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 index 9e9447f99..f8f9fcfce 100644 --- a/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml @@ -5,22 +5,28 @@ dependencies: config: - field.field.node.stanford_opportunity.body - 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_start_date - field.field.node.stanford_opportunity.su_opp_status + - field.field.node.stanford_opportunity.su_opp_summary - node.type.stanford_opportunity module: - datetime - link - media_library + - paragraphs - path - telephone - text @@ -68,6 +74,24 @@ content: region: content settings: { } third_party_settings: { } + su_opp_components: + type: paragraphs + weight: 135 + region: content + settings: + title: Paragraph + title_plural: Paragraphs + edit_mode: open + closed_mode: summary + autocollapse: none + closed_mode_threshold: 0 + add_mode: dropdown + form_display_mode: default + default_paragraph_type: '' + features: + collapse_edit_all: collapse_edit_all + duplicate: duplicate + third_party_settings: { } su_opp_contact_email: type: email_default weight: 123 @@ -91,6 +115,14 @@ content: settings: placeholder: '' third_party_settings: { } + su_opp_contact_url: + type: link_default + weight: 136 + region: content + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } su_opp_course_code: type: string_textfield weight: 126 @@ -130,6 +162,20 @@ content: placeholder_url: '' placeholder_title: '' third_party_settings: { } + su_opp_open_date: + type: datetime_default + weight: 133 + region: content + settings: { } + third_party_settings: { } + su_opp_prerequisites: + type: text_textarea + weight: 137 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } su_opp_source: type: link_default weight: 131 @@ -151,6 +197,14 @@ content: settings: display_label: true third_party_settings: { } + su_opp_summary: + type: text_textarea + weight: 134 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } title: type: string_textfield weight: -5 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 index 38b5a4dbf..56ae1c428 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml @@ -5,20 +5,26 @@ dependencies: config: - field.field.node.stanford_opportunity.body - 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_start_date - field.field.node.stanford_opportunity.su_opp_status + - field.field.node.stanford_opportunity.su_opp_summary - node.type.stanford_opportunity module: - datetime + - entity_reference_revisions - link - text - user @@ -48,6 +54,15 @@ content: third_party_settings: { } weight: 102 region: content + su_opp_components: + type: entity_reference_revisions_entity_view + label: above + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 116 + region: content su_opp_contact_email: type: basic_string label: above @@ -70,6 +85,18 @@ content: third_party_settings: { } weight: 106 region: content + su_opp_contact_url: + type: link + label: above + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 117 + region: content su_opp_course_code: type: string label: above @@ -118,6 +145,22 @@ content: third_party_settings: { } weight: 111 region: content + su_opp_open_date: + type: datetime_default + label: above + settings: + timezone_override: '' + format_type: medium + third_party_settings: { } + weight: 114 + region: content + su_opp_prerequisites: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 118 + region: content su_opp_source: type: link label: above @@ -149,5 +192,12 @@ content: third_party_settings: { } weight: 113 region: content + su_opp_summary: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 115 + 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 index 003982228..845324f0a 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml @@ -6,17 +6,22 @@ dependencies: - core.entity_view_mode.node.teaser - field.field.node.stanford_opportunity.body - 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_start_date - field.field.node.stanford_opportunity.su_opp_status + - field.field.node.stanford_opportunity.su_opp_summary - node.type.stanford_opportunity module: - text @@ -42,14 +47,19 @@ content: hidden: 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_start_date: true su_opp_status: true + su_opp_summary: true 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_url.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_contact_url.yml new file mode 100644 index 000000000..cc2bd36d4 --- /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: 1 + 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_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.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_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_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_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 From b9a61ae3360158eafc3b8bb06446d0539d22d90c Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Tue, 13 Aug 2024 11:55:51 -0600 Subject: [PATCH 11/20] d8core-5741: first two taxonomy --- ...play.node.stanford_opportunity.default.yml | 22 ++++++++++++++ ...play.node.stanford_opportunity.default.yml | 18 ++++++++++++ ...splay.node.stanford_opportunity.teaser.yml | 4 +++ ...de.stanford_opportunity.su_opp_sponsor.yml | 29 +++++++++++++++++++ ....node.stanford_opportunity.su_opp_type.yml | 29 +++++++++++++++++++ .../field.storage.node.su_opp_sponsor.yml | 20 +++++++++++++ .../sync/field.storage.node.su_opp_type.yml | 20 +++++++++++++ 7 files changed, 142 insertions(+) create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_sponsor.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_type.yml create mode 100644 config/sync/field.storage.node.su_opp_sponsor.yml create mode 100644 config/sync/field.storage.node.su_opp_type.yml 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 index f8f9fcfce..c810eebe2 100644 --- a/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml @@ -18,9 +18,11 @@ dependencies: - 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_type - node.type.stanford_opportunity module: - datetime @@ -184,6 +186,16 @@ content: placeholder_url: '' placeholder_title: '' third_party_settings: { } + su_opp_sponsor: + type: entity_reference_autocomplete + weight: 138 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } su_opp_start_date: type: datetime_default weight: 127 @@ -205,6 +217,16 @@ content: rows: 5 placeholder: '' third_party_settings: { } + su_opp_type: + type: entity_reference_autocomplete + weight: 139 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } title: type: string_textfield weight: -5 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 index 56ae1c428..6082f03c7 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml @@ -18,9 +18,11 @@ dependencies: - 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_type - node.type.stanford_opportunity module: - datetime @@ -173,6 +175,14 @@ content: third_party_settings: { } weight: 112 region: content + su_opp_sponsor: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 119 + region: content su_opp_start_date: type: datetime_default label: above @@ -199,5 +209,13 @@ content: third_party_settings: { } weight: 115 region: content + su_opp_type: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 120 + 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 index 845324f0a..f8766cb8b 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml @@ -19,9 +19,11 @@ dependencies: - 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_type - node.type.stanford_opportunity module: - text @@ -60,6 +62,8 @@ hidden: 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_type: true 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_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_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_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 From 18bd9566813dc60ec17bcce6cadec716e66b7c46 Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Tue, 13 Aug 2024 18:19:33 -0600 Subject: [PATCH 12/20] d8core-5741: last taxonomy as tags --- ...play.node.stanford_opportunity.default.yml | 21 +++++++++ ...play.node.stanford_opportunity.default.yml | 9 ++++ ...splay.node.stanford_opportunity.teaser.yml | 2 + ....node.stanford_opportunity.su_opp_tags.yml | 47 +++++++++++++++++++ .../sync/field.storage.node.su_opp_tags.yml | 20 ++++++++ 5 files changed, 99 insertions(+) create mode 100644 config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml create mode 100644 config/sync/field.storage.node.su_opp_tags.yml 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 index c810eebe2..78fb2fa58 100644 --- a/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml @@ -22,9 +22,12 @@ dependencies: - 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 + - cshs - datetime - link - media_library @@ -217,6 +220,24 @@ content: rows: 5 placeholder: '' third_party_settings: { } + su_opp_tags: + type: cshs + weight: 140 + region: content + settings: + save_lineage: false + force_deepest: false + parent: null + level_labels: '' + hierarchy_depth: 0 + required_depth: 0 + none_label: '- Please select -' + 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: 139 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 index 6082f03c7..cd70eea73 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml @@ -22,6 +22,7 @@ dependencies: - 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: @@ -209,6 +210,14 @@ content: third_party_settings: { } weight: 115 region: content + su_opp_tags: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 121 + region: content su_opp_type: type: entity_reference_label label: above 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 index f8766cb8b..84012aee7 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml @@ -23,6 +23,7 @@ dependencies: - 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: @@ -66,4 +67,5 @@ hidden: 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.su_opp_tags.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml new file mode 100644 index 000000000..ddca01b6f --- /dev/null +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml @@ -0,0 +1,47 @@ +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_1 + - taxonomy.vocabulary.opportunity_tag_10 + - taxonomy.vocabulary.opportunity_tag_2 + - taxonomy.vocabulary.opportunity_tag_3 + - taxonomy.vocabulary.opportunity_tag_4 + - taxonomy.vocabulary.opportunity_tag_5 + - taxonomy.vocabulary.opportunity_tag_6 + - taxonomy.vocabulary.opportunity_tag_7 + - taxonomy.vocabulary.opportunity_tag_8 + - taxonomy.vocabulary.opportunity_tag_9 +id: node.stanford_opportunity.su_opp_tags +field_name: su_opp_tags +entity_type: node +bundle: stanford_opportunity +label: 'Opportunity Tags' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + opportunity_tag_1: opportunity_tag_1 + opportunity_tag_2: opportunity_tag_2 + opportunity_tag_3: opportunity_tag_3 + opportunity_tag_4: opportunity_tag_4 + opportunity_tag_5: opportunity_tag_5 + opportunity_tag_6: opportunity_tag_6 + opportunity_tag_7: opportunity_tag_7 + opportunity_tag_8: opportunity_tag_8 + opportunity_tag_9: opportunity_tag_9 + opportunity_tag_10: opportunity_tag_10 + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: opportunity_tag_1 +field_type: entity_reference 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 From 7653e68c3664af28cfd6b338332c05b1f4113138 Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Tue, 13 Aug 2024 18:40:59 -0600 Subject: [PATCH 13/20] d8core-5741:unpublished, menu --- ...rride.node.stanford_opportunity.status.yml | 22 +++++++++++++++++++ .../sync/node.type.stanford_opportunity.yml | 5 +++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 config/sync/core.base_field_override.node.stanford_opportunity.status.yml 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/node.type.stanford_opportunity.yml b/config/sync/node.type.stanford_opportunity.yml index 8dc852237..cc9e9c28c 100644 --- a/config/sync/node.type.stanford_opportunity.yml +++ b/config/sync/node.type.stanford_opportunity.yml @@ -8,8 +8,9 @@ dependencies: - scheduler third_party_settings: menu_ui: - available_menus: { } - parent: '' + available_menus: + - main + parent: 'main:' node_revision_delete: minimum_revisions_to_keep: 5 minimum_age_to_delete: 0 From 7647dce7f7d3ed6c7993394b79449b08b35301af Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Tue, 13 Aug 2024 20:19:56 -0600 Subject: [PATCH 14/20] d8core-5741: rabbit hole, path --- .../pathauto.pattern.opportunity_nodes.yml | 22 +++++++++++++++++++ ...ettings.node_type_stanford_opportunity.yml | 6 ++--- 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 config/sync/pathauto.pattern.opportunity_nodes.yml 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 index 4675bc98e..e53242287 100644 --- a/config/sync/rabbit_hole.behavior_settings.node_type_stanford_opportunity.yml +++ b/config/sync/rabbit_hole.behavior_settings.node_type_stanford_opportunity.yml @@ -7,8 +7,8 @@ dependencies: id: node_type_stanford_opportunity entity_type_id: node_type entity_id: stanford_opportunity -action: display_page +action: page_redirect allow_override: 1 -redirect: '' +redirect: '[node:su_opp_source:uri]' redirect_code: 301 -redirect_fallback_action: access_denied +redirect_fallback_action: display_page From 1317d9ef7aa3f84ecd37a8a4b045e7ce8241848a Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Tue, 13 Aug 2024 20:43:48 -0600 Subject: [PATCH 15/20] d8core-5741: layout fix, form --- ...play.node.stanford_opportunity.default.yml | 169 +++++++++++++----- 1 file changed, 127 insertions(+), 42 deletions(-) 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 index 78fb2fa58..32c413204 100644 --- a/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml @@ -29,77 +29,163 @@ dependencies: - change_labels - cshs - datetime + - field_group + - layout_paragraphs - link - media_library - - paragraphs - path - 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: 10 + weight: 9 region: content settings: { } third_party_settings: { } path: type: path - weight: 30 + weight: 12 region: content settings: { } third_party_settings: { } promote: type: boolean_checkbox - weight: 15 + weight: 10 region: content settings: display_label: true third_party_settings: { } status: type: boolean_checkbox - weight: 120 + weight: 7 region: content settings: display_label: true third_party_settings: { } sticky: type: boolean_checkbox - weight: 16 + weight: 11 region: content settings: display_label: true third_party_settings: { } su_opp_application_deadline: type: datetime_default - weight: 121 + weight: 13 region: content settings: { } third_party_settings: { } su_opp_components: - type: paragraphs - weight: 135 + type: layout_paragraphs + weight: 6 region: content settings: - title: Paragraph - title_plural: Paragraphs - edit_mode: open - closed_mode: summary - autocollapse: none - closed_mode_threshold: 0 - add_mode: dropdown + view_mode: default + preview_view_mode: default form_display_mode: default - default_paragraph_type: '' - features: - collapse_edit_all: collapse_edit_all - duplicate: duplicate + nesting_depth: 0 + require_layouts: 0 + empty_message: '' third_party_settings: { } su_opp_contact_email: type: email_default - weight: 123 + weight: 16 region: content settings: placeholder: '' @@ -107,7 +193,7 @@ content: third_party_settings: { } su_opp_contact_name: type: string_textfield - weight: 124 + weight: 15 region: content settings: size: 60 @@ -115,14 +201,14 @@ content: third_party_settings: { } su_opp_contact_phone: type: telephone_default - weight: 125 + weight: 17 region: content settings: placeholder: '' third_party_settings: { } su_opp_contact_url: type: link_default - weight: 136 + weight: 18 region: content settings: placeholder_url: '' @@ -130,7 +216,7 @@ content: third_party_settings: { } su_opp_course_code: type: string_textfield - weight: 126 + weight: 12 region: content settings: size: 60 @@ -138,7 +224,7 @@ content: third_party_settings: { } su_opp_cta_url: type: link_default - weight: 122 + weight: 13 region: content settings: placeholder_url: '' @@ -146,7 +232,7 @@ content: third_party_settings: { } su_opp_eligibility: type: text_textarea - weight: 128 + weight: 11 region: content settings: rows: 5 @@ -154,14 +240,14 @@ content: third_party_settings: { } su_opp_image: type: media_library_widget - weight: 129 + weight: 2 region: content settings: media_types: { } third_party_settings: { } su_opp_learn_more: type: link_default - weight: 130 + weight: 15 region: content settings: placeholder_url: '' @@ -169,13 +255,13 @@ content: third_party_settings: { } su_opp_open_date: type: datetime_default - weight: 133 + weight: 12 region: content settings: { } third_party_settings: { } su_opp_prerequisites: type: text_textarea - weight: 137 + weight: 10 region: content settings: rows: 5 @@ -183,7 +269,7 @@ content: third_party_settings: { } su_opp_source: type: link_default - weight: 131 + weight: 5 region: content settings: placeholder_url: '' @@ -191,7 +277,7 @@ content: third_party_settings: { } su_opp_sponsor: type: entity_reference_autocomplete - weight: 138 + weight: 3 region: content settings: match_operator: CONTAINS @@ -201,20 +287,20 @@ content: third_party_settings: { } su_opp_start_date: type: datetime_default - weight: 127 + weight: 14 region: content settings: { } third_party_settings: { } su_opp_status: type: boolean_checkbox - weight: 132 + weight: 11 region: content settings: display_label: true third_party_settings: { } su_opp_summary: type: text_textarea - weight: 134 + weight: 4 region: content settings: rows: 5 @@ -222,7 +308,7 @@ content: third_party_settings: { } su_opp_tags: type: cshs - weight: 140 + weight: 6 region: content settings: save_lineage: false @@ -240,7 +326,7 @@ content: force_single_cardinality: 0 su_opp_type: type: entity_reference_autocomplete - weight: 139 + weight: 9 region: content settings: match_operator: CONTAINS @@ -250,7 +336,7 @@ content: third_party_settings: { } title: type: string_textfield - weight: -5 + weight: 0 region: content settings: size: 60 @@ -258,7 +344,7 @@ content: third_party_settings: { } uid: type: entity_reference_autocomplete - weight: 5 + weight: 8 region: content settings: match_operator: CONTAINS @@ -267,11 +353,10 @@ content: placeholder: '' third_party_settings: { } url_redirects: - weight: 50 + weight: 13 region: content settings: { } third_party_settings: { } hidden: - body: true publish_on: true unpublish_on: true From 1a7575469414b7a656834776321d460511472ee2 Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Tue, 20 Aug 2024 13:36:01 -0600 Subject: [PATCH 16/20] D8CORE-5741: removed extraneous taxonomy --- ...xonomy_term.opportunity_tag_10.default.yml | 46 ------------------- ...axonomy_term.opportunity_tag_2.default.yml | 46 ------------------- ...axonomy_term.opportunity_tag_3.default.yml | 46 ------------------- ...axonomy_term.opportunity_tag_4.default.yml | 46 ------------------- ...axonomy_term.opportunity_tag_5.default.yml | 46 ------------------- ...axonomy_term.opportunity_tag_6.default.yml | 46 ------------------- ...axonomy_term.opportunity_tag_7.default.yml | 46 ------------------- ...axonomy_term.opportunity_tag_8.default.yml | 46 ------------------- ...axonomy_term.opportunity_tag_9.default.yml | 46 ------------------- ....node.stanford_opportunity.su_opp_tags.yml | 18 -------- ...taxonomy_vocabulary_opportunity_tag_10.yml | 14 ------ ....taxonomy_vocabulary_opportunity_tag_2.yml | 14 ------ ....taxonomy_vocabulary_opportunity_tag_3.yml | 14 ------ ....taxonomy_vocabulary_opportunity_tag_4.yml | 14 ------ ....taxonomy_vocabulary_opportunity_tag_5.yml | 14 ------ ....taxonomy_vocabulary_opportunity_tag_6.yml | 14 ------ ....taxonomy_vocabulary_opportunity_tag_7.yml | 14 ------ ....taxonomy_vocabulary_opportunity_tag_8.yml | 14 ------ ....taxonomy_vocabulary_opportunity_tag_9.yml | 14 ------ ...taxonomy.vocabulary.opportunity_tag_10.yml | 28 ----------- .../taxonomy.vocabulary.opportunity_tag_2.yml | 28 ----------- .../taxonomy.vocabulary.opportunity_tag_3.yml | 28 ----------- .../taxonomy.vocabulary.opportunity_tag_4.yml | 28 ----------- .../taxonomy.vocabulary.opportunity_tag_5.yml | 28 ----------- .../taxonomy.vocabulary.opportunity_tag_6.yml | 28 ----------- .../taxonomy.vocabulary.opportunity_tag_7.yml | 28 ----------- .../taxonomy.vocabulary.opportunity_tag_8.yml | 28 ----------- .../taxonomy.vocabulary.opportunity_tag_9.yml | 28 ----------- config/sync/user.role.opportunity_editor.yml | 36 --------------- 29 files changed, 846 deletions(-) delete mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_10.default.yml delete mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_2.default.yml delete mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_3.default.yml delete mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_4.default.yml delete mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_5.default.yml delete mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_6.default.yml delete mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_7.default.yml delete mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_8.default.yml delete mode 100644 config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_9.default.yml delete mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_10.yml delete mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_2.yml delete mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_3.yml delete mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_4.yml delete mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_5.yml delete mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_6.yml delete mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_7.yml delete mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_8.yml delete mode 100644 config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_9.yml delete mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_10.yml delete mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_2.yml delete mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_3.yml delete mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_4.yml delete mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_5.yml delete mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_6.yml delete mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_7.yml delete mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_8.yml delete mode 100644 config/sync/taxonomy.vocabulary.opportunity_tag_9.yml diff --git a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_10.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_10.default.yml deleted file mode 100644 index 3dfa75593..000000000 --- a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_10.default.yml +++ /dev/null @@ -1,46 +0,0 @@ -uuid: c3693888-ac16-4750-b605-68927d56b68c -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_10 - module: - - path - - text -id: taxonomy_term.opportunity_tag_10.default -targetEntityType: taxonomy_term -bundle: opportunity_tag_10 -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_2.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_2.default.yml deleted file mode 100644 index c74dcdf10..000000000 --- a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_2.default.yml +++ /dev/null @@ -1,46 +0,0 @@ -uuid: 91ce03c5-d803-4fc3-87d2-bf8678fa3fd1 -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_2 - module: - - path - - text -id: taxonomy_term.opportunity_tag_2.default -targetEntityType: taxonomy_term -bundle: opportunity_tag_2 -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_3.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_3.default.yml deleted file mode 100644 index 8a2728b96..000000000 --- a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_3.default.yml +++ /dev/null @@ -1,46 +0,0 @@ -uuid: 00103c9f-5a28-4866-8837-d826dcc0b200 -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_3 - module: - - path - - text -id: taxonomy_term.opportunity_tag_3.default -targetEntityType: taxonomy_term -bundle: opportunity_tag_3 -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_4.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_4.default.yml deleted file mode 100644 index 1460f0899..000000000 --- a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_4.default.yml +++ /dev/null @@ -1,46 +0,0 @@ -uuid: c1dda8db-f9ad-4ef9-b5a3-7823bc93f33b -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_4 - module: - - path - - text -id: taxonomy_term.opportunity_tag_4.default -targetEntityType: taxonomy_term -bundle: opportunity_tag_4 -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_5.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_5.default.yml deleted file mode 100644 index 640513653..000000000 --- a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_5.default.yml +++ /dev/null @@ -1,46 +0,0 @@ -uuid: 242d6440-1fe5-47c8-be95-dc8f55f3a5cd -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_5 - module: - - path - - text -id: taxonomy_term.opportunity_tag_5.default -targetEntityType: taxonomy_term -bundle: opportunity_tag_5 -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_6.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_6.default.yml deleted file mode 100644 index 0fc149c36..000000000 --- a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_6.default.yml +++ /dev/null @@ -1,46 +0,0 @@ -uuid: 15b8498d-cb4d-402c-a817-5ffcccf0c5b3 -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_6 - module: - - path - - text -id: taxonomy_term.opportunity_tag_6.default -targetEntityType: taxonomy_term -bundle: opportunity_tag_6 -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_7.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_7.default.yml deleted file mode 100644 index 1263a6428..000000000 --- a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_7.default.yml +++ /dev/null @@ -1,46 +0,0 @@ -uuid: afe2b4fc-7acf-4f24-916d-f1efbe6cfe61 -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_7 - module: - - path - - text -id: taxonomy_term.opportunity_tag_7.default -targetEntityType: taxonomy_term -bundle: opportunity_tag_7 -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_8.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_8.default.yml deleted file mode 100644 index f87dbe9ac..000000000 --- a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_8.default.yml +++ /dev/null @@ -1,46 +0,0 @@ -uuid: 8d40f306-f1fe-44ed-bf88-ca6a61331900 -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_8 - module: - - path - - text -id: taxonomy_term.opportunity_tag_8.default -targetEntityType: taxonomy_term -bundle: opportunity_tag_8 -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_9.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_9.default.yml deleted file mode 100644 index 800796639..000000000 --- a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_9.default.yml +++ /dev/null @@ -1,46 +0,0 @@ -uuid: 76015c45-bee3-4b25-a64e-dc0246abe4fd -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_9 - module: - - path - - text -id: taxonomy_term.opportunity_tag_9.default -targetEntityType: taxonomy_term -bundle: opportunity_tag_9 -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/field.field.node.stanford_opportunity.su_opp_tags.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml index ddca01b6f..d6dc23f54 100644 --- a/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml @@ -6,15 +6,6 @@ dependencies: - field.storage.node.su_opp_tags - node.type.stanford_opportunity - taxonomy.vocabulary.opportunity_tag_1 - - taxonomy.vocabulary.opportunity_tag_10 - - taxonomy.vocabulary.opportunity_tag_2 - - taxonomy.vocabulary.opportunity_tag_3 - - taxonomy.vocabulary.opportunity_tag_4 - - taxonomy.vocabulary.opportunity_tag_5 - - taxonomy.vocabulary.opportunity_tag_6 - - taxonomy.vocabulary.opportunity_tag_7 - - taxonomy.vocabulary.opportunity_tag_8 - - taxonomy.vocabulary.opportunity_tag_9 id: node.stanford_opportunity.su_opp_tags field_name: su_opp_tags entity_type: node @@ -30,15 +21,6 @@ settings: handler_settings: target_bundles: opportunity_tag_1: opportunity_tag_1 - opportunity_tag_2: opportunity_tag_2 - opportunity_tag_3: opportunity_tag_3 - opportunity_tag_4: opportunity_tag_4 - opportunity_tag_5: opportunity_tag_5 - opportunity_tag_6: opportunity_tag_6 - opportunity_tag_7: opportunity_tag_7 - opportunity_tag_8: opportunity_tag_8 - opportunity_tag_9: opportunity_tag_9 - opportunity_tag_10: opportunity_tag_10 sort: field: name direction: asc diff --git a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_10.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_10.yml deleted file mode 100644 index 376cf3937..000000000 --- a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_10.yml +++ /dev/null @@ -1,14 +0,0 @@ -uuid: 0551316c-5ef8-43fb-9742-70a3064b61ea -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_10 -id: taxonomy_vocabulary_opportunity_tag_10 -entity_type_id: taxonomy_vocabulary -entity_id: opportunity_tag_10 -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_2.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_2.yml deleted file mode 100644 index f6f148b18..000000000 --- a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_2.yml +++ /dev/null @@ -1,14 +0,0 @@ -uuid: 8c706698-4edf-49e4-a8e8-45b0dad3fb4e -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_2 -id: taxonomy_vocabulary_opportunity_tag_2 -entity_type_id: taxonomy_vocabulary -entity_id: opportunity_tag_2 -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_3.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_3.yml deleted file mode 100644 index cb3917072..000000000 --- a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_3.yml +++ /dev/null @@ -1,14 +0,0 @@ -uuid: 1da8a27c-a428-432f-a122-e028e72f2818 -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_3 -id: taxonomy_vocabulary_opportunity_tag_3 -entity_type_id: taxonomy_vocabulary -entity_id: opportunity_tag_3 -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_4.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_4.yml deleted file mode 100644 index 55fe9fb05..000000000 --- a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_4.yml +++ /dev/null @@ -1,14 +0,0 @@ -uuid: 0e964261-58d7-424a-9ce1-96cf2242c8fa -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_4 -id: taxonomy_vocabulary_opportunity_tag_4 -entity_type_id: taxonomy_vocabulary -entity_id: opportunity_tag_4 -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_5.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_5.yml deleted file mode 100644 index 4bdcf3a4a..000000000 --- a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_5.yml +++ /dev/null @@ -1,14 +0,0 @@ -uuid: 9957c3de-6a13-4de3-84b2-535802a8da9d -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_5 -id: taxonomy_vocabulary_opportunity_tag_5 -entity_type_id: taxonomy_vocabulary -entity_id: opportunity_tag_5 -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_6.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_6.yml deleted file mode 100644 index aabbfa2fe..000000000 --- a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_6.yml +++ /dev/null @@ -1,14 +0,0 @@ -uuid: 38af10bd-8ce0-4708-8580-bc69e8eefc3c -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_6 -id: taxonomy_vocabulary_opportunity_tag_6 -entity_type_id: taxonomy_vocabulary -entity_id: opportunity_tag_6 -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_7.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_7.yml deleted file mode 100644 index 3be0c8cc9..000000000 --- a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_7.yml +++ /dev/null @@ -1,14 +0,0 @@ -uuid: aa4adf8a-187c-4703-9815-cfa7a0c17917 -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_7 -id: taxonomy_vocabulary_opportunity_tag_7 -entity_type_id: taxonomy_vocabulary -entity_id: opportunity_tag_7 -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_8.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_8.yml deleted file mode 100644 index 7ebd794d5..000000000 --- a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_8.yml +++ /dev/null @@ -1,14 +0,0 @@ -uuid: e909ebde-f945-4777-9272-01e1c0eb6f02 -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_8 -id: taxonomy_vocabulary_opportunity_tag_8 -entity_type_id: taxonomy_vocabulary -entity_id: opportunity_tag_8 -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_9.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_9.yml deleted file mode 100644 index 6d4486793..000000000 --- a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_9.yml +++ /dev/null @@ -1,14 +0,0 @@ -uuid: de6fa039-fa67-47c4-b587-646433315ab9 -langcode: en -status: true -dependencies: - config: - - taxonomy.vocabulary.opportunity_tag_9 -id: taxonomy_vocabulary_opportunity_tag_9 -entity_type_id: taxonomy_vocabulary -entity_id: opportunity_tag_9 -action: display_page -allow_override: 1 -redirect: '' -redirect_code: 301 -redirect_fallback_action: access_denied diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_10.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_10.yml deleted file mode 100644 index 7b151c8e8..000000000 --- a/config/sync/taxonomy.vocabulary.opportunity_tag_10.yml +++ /dev/null @@ -1,28 +0,0 @@ -uuid: dc52869c-7d54-4a0b-a2a5-ed6ae92ea02a -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 Tag 10' -vid: opportunity_tag_10 -description: null -weight: 0 -new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_2.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_2.yml deleted file mode 100644 index bf6d34f15..000000000 --- a/config/sync/taxonomy.vocabulary.opportunity_tag_2.yml +++ /dev/null @@ -1,28 +0,0 @@ -uuid: 652f3e57-f0b2-44d4-9da5-ec237af384b6 -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 Tag 2' -vid: opportunity_tag_2 -description: null -weight: 0 -new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_3.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_3.yml deleted file mode 100644 index 9e8d855c0..000000000 --- a/config/sync/taxonomy.vocabulary.opportunity_tag_3.yml +++ /dev/null @@ -1,28 +0,0 @@ -uuid: 0f9ea81b-cfaf-4100-b43e-382ec08f0025 -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 Tag 3' -vid: opportunity_tag_3 -description: null -weight: 0 -new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_4.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_4.yml deleted file mode 100644 index b80d6ed60..000000000 --- a/config/sync/taxonomy.vocabulary.opportunity_tag_4.yml +++ /dev/null @@ -1,28 +0,0 @@ -uuid: 8ef8f9f2-ae5b-4033-acd5-9422ed666569 -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 Tag 4' -vid: opportunity_tag_4 -description: null -weight: 0 -new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_5.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_5.yml deleted file mode 100644 index e10ae6586..000000000 --- a/config/sync/taxonomy.vocabulary.opportunity_tag_5.yml +++ /dev/null @@ -1,28 +0,0 @@ -uuid: efad4340-ebe2-4f54-9995-85d4afa05e9d -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 Tag 5' -vid: opportunity_tag_5 -description: null -weight: 0 -new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_6.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_6.yml deleted file mode 100644 index 9f3f562b8..000000000 --- a/config/sync/taxonomy.vocabulary.opportunity_tag_6.yml +++ /dev/null @@ -1,28 +0,0 @@ -uuid: 81c7d91a-65c9-40c5-b2c5-ed468cd59a29 -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 Tag 6' -vid: opportunity_tag_6 -description: null -weight: 0 -new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_7.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_7.yml deleted file mode 100644 index a6dc792ba..000000000 --- a/config/sync/taxonomy.vocabulary.opportunity_tag_7.yml +++ /dev/null @@ -1,28 +0,0 @@ -uuid: 49879f9d-a235-4ec2-a7c7-cc14bd7e822e -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 Tag 7' -vid: opportunity_tag_7 -description: null -weight: 0 -new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_8.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_8.yml deleted file mode 100644 index 0e8fa3a31..000000000 --- a/config/sync/taxonomy.vocabulary.opportunity_tag_8.yml +++ /dev/null @@ -1,28 +0,0 @@ -uuid: a576eeb3-2c1f-4d6c-a378-38b6cd1f0de5 -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 Tag 8' -vid: opportunity_tag_8 -description: null -weight: 0 -new_revision: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_9.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_9.yml deleted file mode 100644 index a7141fc40..000000000 --- a/config/sync/taxonomy.vocabulary.opportunity_tag_9.yml +++ /dev/null @@ -1,28 +0,0 @@ -uuid: 731a4a0b-1f15-46b0-bda9-a88428ca8f5e -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 Tag 9' -vid: opportunity_tag_9 -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 index bacd5624f..5d77e2c93 100644 --- a/config/sync/user.role.opportunity_editor.yml +++ b/config/sync/user.role.opportunity_editor.yml @@ -6,15 +6,6 @@ dependencies: - node.type.stanford_opportunity - taxonomy.vocabulary.opportunity_sponsor - taxonomy.vocabulary.opportunity_tag_1 - - taxonomy.vocabulary.opportunity_tag_10 - - taxonomy.vocabulary.opportunity_tag_2 - - taxonomy.vocabulary.opportunity_tag_3 - - taxonomy.vocabulary.opportunity_tag_4 - - taxonomy.vocabulary.opportunity_tag_5 - - taxonomy.vocabulary.opportunity_tag_6 - - taxonomy.vocabulary.opportunity_tag_7 - - taxonomy.vocabulary.opportunity_tag_8 - - taxonomy.vocabulary.opportunity_tag_9 - taxonomy.vocabulary.opportunity_type module: - node @@ -30,43 +21,16 @@ permissions: - 'create stanford_opportunity content' - 'create terms in opportunity_sponsor' - 'create terms in opportunity_tag_1' - - 'create terms in opportunity_tag_10' - - 'create terms in opportunity_tag_2' - - 'create terms in opportunity_tag_3' - - 'create terms in opportunity_tag_4' - - 'create terms in opportunity_tag_5' - - 'create terms in opportunity_tag_6' - - 'create terms in opportunity_tag_7' - - 'create terms in opportunity_tag_8' - - 'create terms in opportunity_tag_9' - '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_1' - - 'delete terms in opportunity_tag_10' - - 'delete terms in opportunity_tag_2' - - 'delete terms in opportunity_tag_3' - - 'delete terms in opportunity_tag_4' - - 'delete terms in opportunity_tag_5' - - 'delete terms in opportunity_tag_6' - - 'delete terms in opportunity_tag_7' - - 'delete terms in opportunity_tag_8' - - 'delete terms in opportunity_tag_9' - 'delete terms in opportunity_type' - 'edit any stanford_opportunity content' - 'edit own stanford_opportunity content' - 'edit terms in opportunity_tag_1' - - 'edit terms in opportunity_tag_10' - - 'edit terms in opportunity_tag_2' - - 'edit terms in opportunity_tag_3' - - 'edit terms in opportunity_tag_4' - - 'edit terms in opportunity_tag_5' - - 'edit terms in opportunity_tag_6' - - 'edit terms in opportunity_tag_7' - - 'edit terms in opportunity_tag_8' - - 'edit terms in opportunity_tag_9' - 'revert stanford_opportunity revisions' - 'view any unpublished stanford_opportunity content' - 'view stanford_opportunity revisions' From 8bda4f11fe0829773131d1494a17902c4eafe502 Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Tue, 20 Aug 2024 13:51:44 -0600 Subject: [PATCH 17/20] D8CORE-5741: adjusted settings so taxonomy is multilevel --- ...ld.field.node.stanford_opportunity.su_opp_course_code.yml | 2 +- .../field.field.node.stanford_opportunity.su_opp_tags.yml | 2 +- config/sync/field.storage.node.su_opp_course_code.yml | 2 +- config/sync/taxonomy.vocabulary.opportunity_tag_1.yml | 5 +---- 4 files changed, 4 insertions(+), 7 deletions(-) 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 index 67ff6e782..3efb58dd8 100644 --- 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 @@ -10,7 +10,7 @@ field_name: su_opp_course_code entity_type: node bundle: stanford_opportunity label: 'Course Code' -description: '' +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: { } 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 index d6dc23f54..aa3f38f8d 100644 --- a/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml @@ -11,7 +11,7 @@ field_name: su_opp_tags entity_type: node bundle: stanford_opportunity label: 'Opportunity Tags' -description: '' +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: { } diff --git a/config/sync/field.storage.node.su_opp_course_code.yml b/config/sync/field.storage.node.su_opp_course_code.yml index ef91cbdc4..bac2b604f 100644 --- a/config/sync/field.storage.node.su_opp_course_code.yml +++ b/config/sync/field.storage.node.su_opp_course_code.yml @@ -14,7 +14,7 @@ settings: is_ascii: false module: core locked: false -cardinality: 1 +cardinality: -1 translatable: true indexes: { } persist_with_no_fields: false diff --git a/config/sync/taxonomy.vocabulary.opportunity_tag_1.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_1.yml index a0e9aac06..a60395a63 100644 --- a/config/sync/taxonomy.vocabulary.opportunity_tag_1.yml +++ b/config/sync/taxonomy.vocabulary.opportunity_tag_1.yml @@ -3,11 +3,8 @@ 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 @@ -21,7 +18,7 @@ third_party_settings: unpublish_enable: false unpublish_required: false unpublish_revision: false -name: 'Opportunity Tag 1' +name: 'Opportunity Filters' vid: opportunity_tag_1 description: null weight: 0 From 379d2ef4ee0fd281961592d1f85e9c753634e0eb Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Wed, 4 Sep 2024 14:51:32 -0700 Subject: [PATCH 18/20] Adjust field configs --- ...ide.node.stanford_opportunity.promote.yml} | 0 ...play.node.stanford_opportunity.default.yml | 26 +++++++++++-------- ...tanford_opportunity.su_opp_contact_url.yml | 2 +- ...de.stanford_opportunity.su_opp_cta_url.yml | 2 +- ...ode.stanford_opportunity.su_opp_source.yml | 2 +- ...ode.stanford_opportunity.su_opp_status.yml | 4 +-- .../sync/node.type.stanford_opportunity.yml | 4 +-- ...ettings.node_type_stanford_opportunity.yml | 2 +- 8 files changed, 23 insertions(+), 19 deletions(-) rename config/sync/{core.base_field_override.node.su_opportunity.promote.yml => core.base_field_override.node.stanford_opportunity.promote.yml} (100%) diff --git a/config/sync/core.base_field_override.node.su_opportunity.promote.yml b/config/sync/core.base_field_override.node.stanford_opportunity.promote.yml similarity index 100% rename from config/sync/core.base_field_override.node.su_opportunity.promote.yml rename to config/sync/core.base_field_override.node.stanford_opportunity.promote.yml 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 index 32c413204..2c279fabb 100644 --- a/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml @@ -27,13 +27,14 @@ dependencies: - node.type.stanford_opportunity module: - change_labels - - cshs - datetime - field_group - layout_paragraphs - link - media_library - path + - scheduler + - stanford_fields - telephone - text third_party_settings: @@ -151,6 +152,17 @@ 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 @@ -307,17 +319,10 @@ content: placeholder: '' third_party_settings: { } su_opp_tags: - type: cshs + type: taxonomy_label_hierarchy weight: 6 region: content - settings: - save_lineage: false - force_deepest: false - parent: null - level_labels: '' - hierarchy_depth: 0 - required_depth: 0 - none_label: '- Please select -' + settings: { } third_party_settings: change_labels: add_another: '' @@ -358,5 +363,4 @@ content: settings: { } third_party_settings: { } hidden: - publish_on: true unpublish_on: true 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 index cc2bd36d4..bfceedaac 100644 --- 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 @@ -18,6 +18,6 @@ translatable: false default_value: { } default_value_callback: '' settings: - title: 1 + title: 2 link_type: 17 field_type: link 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 index b1123bd60..8689128f5 100644 --- 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 @@ -18,6 +18,6 @@ translatable: false default_value: { } default_value_callback: '' settings: - title: 1 + title: 2 link_type: 17 field_type: link 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 index 8c289bfcb..ca4cf26ff 100644 --- a/config/sync/field.field.node.stanford_opportunity.su_opp_source.yml +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_source.yml @@ -19,5 +19,5 @@ default_value: { } default_value_callback: '' settings: title: 0 - link_type: 17 + link_type: 16 field_type: link 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 index 58fde8e6a..e694eafd6 100644 --- a/config/sync/field.field.node.stanford_opportunity.su_opp_status.yml +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_status.yml @@ -9,8 +9,8 @@ id: node.stanford_opportunity.su_opp_status field_name: su_opp_status entity_type: node bundle: stanford_opportunity -label: 'Opportunity Status' -description: 'Check this box if the Opportunity should be listed as "Closed."' +label: Closed +description: 'Status of the Opportunity. Check this box if the Opportunity should be listed as "Closed."' required: false translatable: false default_value: { } diff --git a/config/sync/node.type.stanford_opportunity.yml b/config/sync/node.type.stanford_opportunity.yml index cc9e9c28c..f71e20572 100644 --- a/config/sync/node.type.stanford_opportunity.yml +++ b/config/sync/node.type.stanford_opportunity.yml @@ -18,13 +18,13 @@ third_party_settings: scheduler: expand_fieldset: when_required fields_display_mode: vertical_tab - publish_enable: false + 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: true + show_message_after_update: false unpublish_enable: false unpublish_required: false unpublish_revision: 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 index e53242287..8f5a7c14d 100644 --- a/config/sync/rabbit_hole.behavior_settings.node_type_stanford_opportunity.yml +++ b/config/sync/rabbit_hole.behavior_settings.node_type_stanford_opportunity.yml @@ -8,7 +8,7 @@ id: node_type_stanford_opportunity entity_type_id: node_type entity_id: stanford_opportunity action: page_redirect -allow_override: 1 +allow_override: 0 redirect: '[node:su_opp_source:uri]' redirect_code: 301 redirect_fallback_action: display_page From 16e2818b1f5861261f01bd8f2ce210a60f084a36 Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Wed, 4 Sep 2024 14:52:52 -0700 Subject: [PATCH 19/20] updated field name --- .../sync/field.field.node.stanford_opportunity.su_opp_tags.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 index aa3f38f8d..8f3e3cce6 100644 --- a/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml @@ -10,7 +10,7 @@ id: node.stanford_opportunity.su_opp_tags field_name: su_opp_tags entity_type: node bundle: stanford_opportunity -label: 'Opportunity Tags' +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 From 45e1148be4cae55d84edaa8a8906515eabc4e34f Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Wed, 4 Sep 2024 16:20:25 -0700 Subject: [PATCH 20/20] Configured form settings and display settings and added some acceptance tests --- ...play.node.stanford_opportunity.default.yml | 27 +- ..._term.opportunity_tag_filters.default.yml} | 6 +- ...play.node.stanford_opportunity.default.yml | 414 +++++++++--------- ...e.stanford_opportunity.search_indexing.yml | 93 ++++ ...ode.stanford_opportunity.stanford_card.yml | 159 +++++++ ....stanford_opportunity.stanford_h3_card.yml | 158 +++++++ ...splay.node.stanford_opportunity.teaser.yml | 4 +- ...ord_opportunity.layout_builder__layout.yml | 21 + ....node.stanford_opportunity.su_opp_tags.yml | 6 +- ...my_vocabulary_opportunity_tag_filters.yml} | 6 +- .../sync/search_api.index.algolia_search.yml | 9 +- .../search_api.index.full_site_content.yml | 1 + ...my.vocabulary.opportunity_tag_filters.yml} | 2 +- config/sync/user.role.opportunity_editor.yml | 8 +- .../acceptance/Content/OpportunityCest.php | 57 +++ .../functional/Content/OpportunityCest.php | 92 ++++ 16 files changed, 841 insertions(+), 222 deletions(-) rename config/sync/{core.entity_form_display.taxonomy_term.opportunity_tag_1.default.yml => core.entity_form_display.taxonomy_term.opportunity_tag_filters.default.yml} (85%) create mode 100644 config/sync/core.entity_view_display.node.stanford_opportunity.search_indexing.yml create mode 100644 config/sync/core.entity_view_display.node.stanford_opportunity.stanford_card.yml create mode 100644 config/sync/core.entity_view_display.node.stanford_opportunity.stanford_h3_card.yml create mode 100644 config/sync/field.field.node.stanford_opportunity.layout_builder__layout.yml rename config/sync/{rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_1.yml => rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_filters.yml} (64%) rename config/sync/{taxonomy.vocabulary.opportunity_tag_1.yml => taxonomy.vocabulary.opportunity_tag_filters.yml} (95%) create mode 100644 tests/codeception/acceptance/Content/OpportunityCest.php create mode 100644 tests/codeception/functional/Content/OpportunityCest.php 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 index 2c279fabb..19e5bcac3 100644 --- a/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_form_display.node.stanford_opportunity.default.yml @@ -4,6 +4,7 @@ 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 @@ -28,6 +29,7 @@ dependencies: module: - change_labels - datetime + - field_formatter_class - field_group - layout_paragraphs - link @@ -139,6 +141,12 @@ content: region: content settings: { } third_party_settings: { } + layout_builder__layout: + type: null + weight: 53 + region: content + settings: { } + third_party_settings: { } path: type: path weight: 12 @@ -192,9 +200,16 @@ content: preview_view_mode: default form_display_mode: default nesting_depth: 0 - require_layouts: 0 + require_layouts: 1 empty_message: '' - third_party_settings: { } + 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 @@ -288,14 +303,10 @@ content: placeholder_title: '' third_party_settings: { } su_opp_sponsor: - type: entity_reference_autocomplete + type: options_select weight: 3 region: content - settings: - match_operator: CONTAINS - match_limit: 10 - size: 60 - placeholder: '' + settings: { } third_party_settings: { } su_opp_start_date: type: datetime_default diff --git a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_1.default.yml b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_filters.default.yml similarity index 85% rename from config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_1.default.yml rename to config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_filters.default.yml index 66180637d..5111860ac 100644 --- a/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_1.default.yml +++ b/config/sync/core.entity_form_display.taxonomy_term.opportunity_tag_filters.default.yml @@ -3,13 +3,13 @@ langcode: en status: true dependencies: config: - - taxonomy.vocabulary.opportunity_tag_1 + - taxonomy.vocabulary.opportunity_tag_filters module: - path - text -id: taxonomy_term.opportunity_tag_1.default +id: taxonomy_term.opportunity_tag_filters.default targetEntityType: taxonomy_term -bundle: opportunity_tag_1 +bundle: opportunity_tag_filters mode: default content: description: 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 index cd70eea73..9460689e8 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.default.yml @@ -4,6 +4,7 @@ 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 @@ -26,205 +27,228 @@ dependencies: - field.field.node.stanford_opportunity.su_opp_type - node.type.stanford_opportunity module: - - datetime - - entity_reference_revisions - - link - - text + - 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: - body: - type: text_default - label: hidden - settings: { } - third_party_settings: { } - weight: 101 - region: content - links: - settings: { } - third_party_settings: { } - weight: 100 - region: content - su_opp_application_deadline: - type: datetime_default - label: above - settings: - timezone_override: '' - format_type: medium - third_party_settings: { } - weight: 102 - region: content - su_opp_components: - type: entity_reference_revisions_entity_view - label: above - settings: - view_mode: default - link: '' - third_party_settings: { } - weight: 116 - region: content - su_opp_contact_email: - type: basic_string - label: above - settings: { } - third_party_settings: { } - weight: 104 - region: content - su_opp_contact_name: - type: string - label: above - settings: - link_to_entity: false - third_party_settings: { } - weight: 105 - region: content - su_opp_contact_phone: - type: basic_string - label: above - settings: { } - third_party_settings: { } - weight: 106 - region: content - su_opp_contact_url: - type: link - label: above - settings: - trim_length: 80 - url_only: false - url_plain: false - rel: '' - target: '' - third_party_settings: { } - weight: 117 - region: content - su_opp_course_code: - type: string - label: above - settings: - link_to_entity: false - third_party_settings: { } - weight: 107 - region: content - su_opp_cta_url: - type: link - label: above - settings: - trim_length: 80 - url_only: false - url_plain: false - rel: '' - target: '' - third_party_settings: { } - weight: 103 - region: content - su_opp_eligibility: - type: text_default - label: above - settings: { } - third_party_settings: { } - weight: 109 - region: content - su_opp_image: - type: entity_reference_entity_view - label: above - settings: - view_mode: default - link: false - third_party_settings: { } - weight: 110 - region: content - su_opp_learn_more: - type: link - label: above - settings: - trim_length: 80 - url_only: false - url_plain: false - rel: '' - target: '' - third_party_settings: { } - weight: 111 - region: content - su_opp_open_date: - type: datetime_default - label: above - settings: - timezone_override: '' - format_type: medium - third_party_settings: { } - weight: 114 - region: content - su_opp_prerequisites: - type: text_default - label: above - settings: { } - third_party_settings: { } - weight: 118 - region: content - su_opp_source: - type: link - label: above - settings: - trim_length: 80 - url_only: false - url_plain: false - rel: '' - target: '' - third_party_settings: { } - weight: 112 - region: content - su_opp_sponsor: - type: entity_reference_label - label: above - settings: - link: true - third_party_settings: { } - weight: 119 - region: content - su_opp_start_date: - type: datetime_default - label: above - settings: - timezone_override: '' - format_type: medium - third_party_settings: { } - weight: 108 - region: content - su_opp_status: - type: boolean - label: above - settings: - format: default - format_custom_false: '' - format_custom_true: '' - third_party_settings: { } - weight: 113 - region: content - su_opp_summary: - type: text_default - label: above - settings: { } - third_party_settings: { } - weight: 115 - region: content - su_opp_tags: - type: entity_reference_label - label: above - settings: - link: true - third_party_settings: { } - weight: 121 - region: content - su_opp_type: - type: entity_reference_label - label: above - settings: - link: true - third_party_settings: { } - weight: 120 - region: content +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 index 84012aee7..6ade819d9 100644 --- a/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml +++ b/config/sync/core.entity_view_display.node.stanford_opportunity.teaser.yml @@ -1,10 +1,11 @@ uuid: eacf0e3e-0783-44c6-9012-4c4c9e2b7c47 langcode: en -status: true +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 @@ -48,6 +49,7 @@ content: weight: 100 region: content hidden: + layout_builder__layout: true search_api_excerpt: true su_opp_application_deadline: true su_opp_components: true 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_tags.yml b/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml index 8f3e3cce6..84c4debb6 100644 --- a/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml +++ b/config/sync/field.field.node.stanford_opportunity.su_opp_tags.yml @@ -5,7 +5,7 @@ dependencies: config: - field.storage.node.su_opp_tags - node.type.stanford_opportunity - - taxonomy.vocabulary.opportunity_tag_1 + - taxonomy.vocabulary.opportunity_tag_filters id: node.stanford_opportunity.su_opp_tags field_name: su_opp_tags entity_type: node @@ -20,10 +20,10 @@ settings: handler: 'default:taxonomy_term' handler_settings: target_bundles: - opportunity_tag_1: opportunity_tag_1 + opportunity_tag_filters: opportunity_tag_filters sort: field: name direction: asc auto_create: false - auto_create_bundle: opportunity_tag_1 + auto_create_bundle: opportunity_tag_filters field_type: entity_reference diff --git a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_1.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_filters.yml similarity index 64% rename from config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_1.yml rename to config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_filters.yml index c4688747c..c7a5e47e3 100644 --- a/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_1.yml +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_opportunity_tag_filters.yml @@ -3,10 +3,10 @@ langcode: en status: true dependencies: config: - - taxonomy.vocabulary.opportunity_tag_1 -id: taxonomy_vocabulary_opportunity_tag_1 + - taxonomy.vocabulary.opportunity_tag_filters +id: taxonomy_vocabulary_opportunity_tag_filters entity_type_id: taxonomy_vocabulary -entity_id: opportunity_tag_1 +entity_id: opportunity_tag_filters action: display_page allow_override: 1 redirect: '' 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/taxonomy.vocabulary.opportunity_tag_1.yml b/config/sync/taxonomy.vocabulary.opportunity_tag_filters.yml similarity index 95% rename from config/sync/taxonomy.vocabulary.opportunity_tag_1.yml rename to config/sync/taxonomy.vocabulary.opportunity_tag_filters.yml index a60395a63..f15f95dc2 100644 --- a/config/sync/taxonomy.vocabulary.opportunity_tag_1.yml +++ b/config/sync/taxonomy.vocabulary.opportunity_tag_filters.yml @@ -19,7 +19,7 @@ third_party_settings: unpublish_required: false unpublish_revision: false name: 'Opportunity Filters' -vid: opportunity_tag_1 +vid: opportunity_tag_filters 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 index 5d77e2c93..7f584b9d7 100644 --- a/config/sync/user.role.opportunity_editor.yml +++ b/config/sync/user.role.opportunity_editor.yml @@ -5,7 +5,7 @@ dependencies: config: - node.type.stanford_opportunity - taxonomy.vocabulary.opportunity_sponsor - - taxonomy.vocabulary.opportunity_tag_1 + - taxonomy.vocabulary.opportunity_tag_filters - taxonomy.vocabulary.opportunity_type module: - node @@ -20,17 +20,17 @@ permissions: - 'assign opportunity_editor role' - 'create stanford_opportunity content' - 'create terms in opportunity_sponsor' - - 'create terms in opportunity_tag_1' + - '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_1' + - '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_1' + - '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'); + } + +}