diff --git a/config/sync/core.entity_form_display.config_pages.stanford_basic_site_settings.default.yml b/config/sync/core.entity_form_display.config_pages.stanford_basic_site_settings.default.yml index ac3f90ae3..21fff68f1 100644 --- a/config/sync/core.entity_form_display.config_pages.stanford_basic_site_settings.default.yml +++ b/config/sync/core.entity_form_display.config_pages.stanford_basic_site_settings.default.yml @@ -9,6 +9,7 @@ dependencies: - field.field.config_pages.stanford_basic_site_settings.su_hide_site_search - field.field.config_pages.stanford_basic_site_settings.su_site_403 - field.field.config_pages.stanford_basic_site_settings.su_site_404 + - field.field.config_pages.stanford_basic_site_settings.su_site_a11y_contact - field.field.config_pages.stanford_basic_site_settings.su_site_admin_notes - field.field.config_pages.stanford_basic_site_settings.su_site_dropdowns - field.field.config_pages.stanford_basic_site_settings.su_site_email @@ -17,9 +18,15 @@ dependencies: - field.field.config_pages.stanford_basic_site_settings.su_site_name - field.field.config_pages.stanford_basic_site_settings.su_site_new_menu - field.field.config_pages.stanford_basic_site_settings.su_site_nobots + - field.field.config_pages.stanford_basic_site_settings.su_site_org + - field.field.config_pages.stanford_basic_site_settings.su_site_owner_contact + - field.field.config_pages.stanford_basic_site_settings.su_site_renewal_due + - field.field.config_pages.stanford_basic_site_settings.su_site_tech_contact - field.field.config_pages.stanford_basic_site_settings.su_site_url module: + - change_labels - conditional_fields + - cshs - field_group - link - text @@ -31,8 +38,8 @@ third_party_settings: - su_site_admin_notes label: Experimental region: content - parent_name: '' - weight: 12 + parent_name: group_site_details + weight: 13 format_type: details format_settings: classes: '' @@ -41,6 +48,66 @@ third_party_settings: open: false description: '' required_fields: false + group_tabs: + children: + - group_site_details + - group_contact_details + label: Tabs + region: content + parent_name: '' + weight: 0 + format_type: tabs + format_settings: + classes: '' + show_empty_fields: false + id: '' + direction: vertical + width_breakpoint: 640 + group_site_details: + children: + - su_site_name + - su_site_email + - su_site_url + - su_google_analytics + - su_site_dropdowns + - su_site_menu_levels + - su_hide_site_search + - su_hide_ext_link_icons + - su_site_home + - su_site_404 + - su_site_403 + - su_site_nobots + - group_experimental + label: 'Site Settings/Features' + region: content + parent_name: group_tabs + weight: 19 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + formatter: closed + description: '' + required_fields: true + group_contact_details: + children: + - su_site_owner_contact + - su_site_tech_contact + - su_site_a11y_contact + - su_site_org + label: 'Contact Details' + region: content + parent_name: group_tabs + weight: 20 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + formatter: closed + description: '' + required_fields: true id: config_pages.stanford_basic_site_settings.default targetEntityType: config_pages bundle: stanford_basic_site_settings @@ -48,7 +115,7 @@ mode: default content: su_google_analytics: type: string_textfield - weight: 3 + weight: 4 region: content settings: size: 60 @@ -56,30 +123,38 @@ content: third_party_settings: { } su_hide_ext_link_icons: type: boolean_checkbox - weight: 7 + weight: 8 region: content settings: display_label: true third_party_settings: { } su_hide_site_search: type: boolean_checkbox - weight: 6 + weight: 7 region: content settings: display_label: true third_party_settings: { } su_site_403: type: options_select - weight: 10 + weight: 11 region: content settings: { } third_party_settings: { } su_site_404: type: options_select - weight: 9 + weight: 10 region: content settings: { } third_party_settings: { } + su_site_a11y_contact: + type: email_default + weight: 6 + region: content + settings: + placeholder: '' + size: 60 + third_party_settings: { } su_site_admin_notes: type: text_textarea weight: 12 @@ -90,14 +165,14 @@ content: third_party_settings: { } su_site_dropdowns: type: boolean_checkbox - weight: 4 + weight: 5 region: content settings: display_label: true third_party_settings: { } su_site_email: type: email_default - weight: 1 + weight: 2 region: content settings: placeholder: '' @@ -105,13 +180,13 @@ content: third_party_settings: { } su_site_home: type: options_select - weight: 8 + weight: 9 region: content settings: { } third_party_settings: { } su_site_menu_levels: type: number - weight: 5 + weight: 6 region: content settings: placeholder: '' @@ -135,7 +210,7 @@ content: selector: '' su_site_name: type: string_textfield - weight: 0 + weight: 1 region: content settings: size: 60 @@ -150,14 +225,45 @@ content: third_party_settings: { } su_site_nobots: type: boolean_checkbox - weight: 11 + weight: 12 region: content settings: display_label: true third_party_settings: { } + su_site_org: + type: cshs + weight: 7 + 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: + field_label_overwrite: '' + su_site_owner_contact: + type: email_default + weight: 4 + region: content + settings: + placeholder: '' + size: 60 + third_party_settings: { } + su_site_tech_contact: + type: email_default + weight: 5 + region: content + settings: + placeholder: '' + size: 60 + third_party_settings: { } su_site_url: type: link_default - weight: 2 + weight: 3 region: content settings: placeholder_url: '' @@ -165,3 +271,4 @@ content: third_party_settings: { } hidden: label: true + su_site_renewal_due: true diff --git a/config/sync/core.entity_form_display.taxonomy_term.site_owner_orgs.default.yml b/config/sync/core.entity_form_display.taxonomy_term.site_owner_orgs.default.yml new file mode 100644 index 000000000..f74a126bc --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.site_owner_orgs.default.yml @@ -0,0 +1,25 @@ +uuid: 8552a374-507c-4d34-9c9c-459d268cbe57 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.site_owner_orgs +id: taxonomy_term.site_owner_orgs.default +targetEntityType: taxonomy_term +bundle: site_owner_orgs +mode: default +content: + name: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + description: true + path: true + publish_on: true + status: true + unpublish_on: true diff --git a/config/sync/core.entity_view_display.config_pages.stanford_basic_site_settings.default.yml b/config/sync/core.entity_view_display.config_pages.stanford_basic_site_settings.default.yml index 092ecc288..b9e467d05 100644 --- a/config/sync/core.entity_view_display.config_pages.stanford_basic_site_settings.default.yml +++ b/config/sync/core.entity_view_display.config_pages.stanford_basic_site_settings.default.yml @@ -9,6 +9,7 @@ dependencies: - field.field.config_pages.stanford_basic_site_settings.su_hide_site_search - field.field.config_pages.stanford_basic_site_settings.su_site_403 - field.field.config_pages.stanford_basic_site_settings.su_site_404 + - field.field.config_pages.stanford_basic_site_settings.su_site_a11y_contact - field.field.config_pages.stanford_basic_site_settings.su_site_admin_notes - field.field.config_pages.stanford_basic_site_settings.su_site_dropdowns - field.field.config_pages.stanford_basic_site_settings.su_site_email @@ -17,8 +18,13 @@ dependencies: - field.field.config_pages.stanford_basic_site_settings.su_site_name - field.field.config_pages.stanford_basic_site_settings.su_site_new_menu - field.field.config_pages.stanford_basic_site_settings.su_site_nobots + - field.field.config_pages.stanford_basic_site_settings.su_site_org + - field.field.config_pages.stanford_basic_site_settings.su_site_owner_contact + - field.field.config_pages.stanford_basic_site_settings.su_site_renewal_due + - field.field.config_pages.stanford_basic_site_settings.su_site_tech_contact - field.field.config_pages.stanford_basic_site_settings.su_site_url module: + - datetime - link - text id: config_pages.stanford_basic_site_settings.default @@ -70,6 +76,13 @@ content: third_party_settings: { } weight: 7 region: content + su_site_a11y_contact: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 17 + region: content su_site_admin_notes: type: text_default label: above @@ -139,6 +152,37 @@ content: third_party_settings: { } weight: 12 region: content + su_site_org: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 18 + region: content + su_site_owner_contact: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 14 + region: content + su_site_renewal_due: + type: datetime_default + label: above + settings: + timezone_override: '' + format_type: medium + third_party_settings: { } + weight: 15 + region: content + su_site_tech_contact: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 16 + region: content su_site_url: type: link label: above diff --git a/config/sync/core.entity_view_display.taxonomy_term.site_owner_orgs.default.yml b/config/sync/core.entity_view_display.taxonomy_term.site_owner_orgs.default.yml new file mode 100644 index 000000000..891230fca --- /dev/null +++ b/config/sync/core.entity_view_display.taxonomy_term.site_owner_orgs.default.yml @@ -0,0 +1,14 @@ +uuid: d8fba16a-7d29-4c7f-89de-a0e7b78671f2 +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.site_owner_orgs +id: taxonomy_term.site_owner_orgs.default +targetEntityType: taxonomy_term +bundle: site_owner_orgs +mode: default +content: { } +hidden: + description: true + search_api_excerpt: true diff --git a/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_a11y_contact.yml b/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_a11y_contact.yml new file mode 100644 index 000000000..f330b8962 --- /dev/null +++ b/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_a11y_contact.yml @@ -0,0 +1,19 @@ +uuid: 42ca049b-3f48-4768-9c35-2ff160bd10df +langcode: en +status: true +dependencies: + config: + - config_pages.type.stanford_basic_site_settings + - field.storage.config_pages.su_site_a11y_contact +id: config_pages.stanford_basic_site_settings.su_site_a11y_contact +field_name: su_site_a11y_contact +entity_type: config_pages +bundle: stanford_basic_site_settings +label: 'Accessibility Contact' +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: email diff --git a/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_org.yml b/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_org.yml new file mode 100644 index 000000000..b8aca5423 --- /dev/null +++ b/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_org.yml @@ -0,0 +1,29 @@ +uuid: 1deaeb31-cb9f-4513-abce-bb83bc0743ee +langcode: en +status: true +dependencies: + config: + - config_pages.type.stanford_basic_site_settings + - field.storage.config_pages.su_site_org + - taxonomy.vocabulary.site_owner_orgs +id: config_pages.stanford_basic_site_settings.su_site_org +field_name: su_site_org +entity_type: config_pages +bundle: stanford_basic_site_settings +label: Organization +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + site_owner_orgs: site_owner_orgs + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_owner_contact.yml b/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_owner_contact.yml new file mode 100644 index 000000000..39d6bf2bf --- /dev/null +++ b/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_owner_contact.yml @@ -0,0 +1,19 @@ +uuid: e457ce01-0e7b-4edc-bb4e-a33ac3e673a3 +langcode: en +status: true +dependencies: + config: + - config_pages.type.stanford_basic_site_settings + - field.storage.config_pages.su_site_owner_contact +id: config_pages.stanford_basic_site_settings.su_site_owner_contact +field_name: su_site_owner_contact +entity_type: config_pages +bundle: stanford_basic_site_settings +label: 'Site Owner Contact' +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: email diff --git a/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_renewal_due.yml b/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_renewal_due.yml new file mode 100644 index 000000000..dd8e24330 --- /dev/null +++ b/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_renewal_due.yml @@ -0,0 +1,24 @@ +uuid: 457df835-c159-430b-9ef7-ce150124f017 +langcode: en +status: true +dependencies: + config: + - config_pages.type.stanford_basic_site_settings + - field.storage.config_pages.su_site_renewal_due + module: + - datetime +id: config_pages.stanford_basic_site_settings.su_site_renewal_due +field_name: su_site_renewal_due +entity_type: config_pages +bundle: stanford_basic_site_settings +label: 'Renewal Due' +description: '' +required: true +translatable: false +default_value: + - + default_date_type: relative + default_date: 'now + 12months' +default_value_callback: '' +settings: { } +field_type: datetime diff --git a/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_tech_contact.yml b/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_tech_contact.yml new file mode 100644 index 000000000..da9146cc7 --- /dev/null +++ b/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_tech_contact.yml @@ -0,0 +1,19 @@ +uuid: aee406a9-b807-4dc9-ae82-749b10952948 +langcode: en +status: true +dependencies: + config: + - config_pages.type.stanford_basic_site_settings + - field.storage.config_pages.su_site_tech_contact +id: config_pages.stanford_basic_site_settings.su_site_tech_contact +field_name: su_site_tech_contact +entity_type: config_pages +bundle: stanford_basic_site_settings +label: 'Technical Contact' +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: email diff --git a/config/sync/field.storage.config_pages.su_site_a11y_contact.yml b/config/sync/field.storage.config_pages.su_site_a11y_contact.yml new file mode 100644 index 000000000..b8a3078f9 --- /dev/null +++ b/config/sync/field.storage.config_pages.su_site_a11y_contact.yml @@ -0,0 +1,18 @@ +uuid: 852ec74c-1af4-4141-88a5-4d0a05785825 +langcode: en +status: true +dependencies: + module: + - config_pages +id: config_pages.su_site_a11y_contact +field_name: su_site_a11y_contact +entity_type: config_pages +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.config_pages.su_site_org.yml b/config/sync/field.storage.config_pages.su_site_org.yml new file mode 100644 index 000000000..3ab0f3fc4 --- /dev/null +++ b/config/sync/field.storage.config_pages.su_site_org.yml @@ -0,0 +1,20 @@ +uuid: c7097cac-531a-4faa-949f-d91ebaff5e29 +langcode: en +status: true +dependencies: + module: + - config_pages + - taxonomy +id: config_pages.su_site_org +field_name: su_site_org +entity_type: config_pages +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.config_pages.su_site_owner_contact.yml b/config/sync/field.storage.config_pages.su_site_owner_contact.yml new file mode 100644 index 000000000..c790ae125 --- /dev/null +++ b/config/sync/field.storage.config_pages.su_site_owner_contact.yml @@ -0,0 +1,18 @@ +uuid: 70f8e6a2-a6ed-48fd-b293-1e7b0d95fe6c +langcode: en +status: true +dependencies: + module: + - config_pages +id: config_pages.su_site_owner_contact +field_name: su_site_owner_contact +entity_type: config_pages +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.config_pages.su_site_renewal_due.yml b/config/sync/field.storage.config_pages.su_site_renewal_due.yml new file mode 100644 index 000000000..5dff8cbf6 --- /dev/null +++ b/config/sync/field.storage.config_pages.su_site_renewal_due.yml @@ -0,0 +1,20 @@ +uuid: de4bf1cb-94f5-493f-9bfb-7ab1ac10e3fb +langcode: en +status: true +dependencies: + module: + - config_pages + - datetime +id: config_pages.su_site_renewal_due +field_name: su_site_renewal_due +entity_type: config_pages +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.config_pages.su_site_tech_contact.yml b/config/sync/field.storage.config_pages.su_site_tech_contact.yml new file mode 100644 index 000000000..e14f427e1 --- /dev/null +++ b/config/sync/field.storage.config_pages.su_site_tech_contact.yml @@ -0,0 +1,18 @@ +uuid: 1a910c16-b956-4b33-8ecf-7d411ea9ad7d +langcode: en +status: true +dependencies: + module: + - config_pages +id: config_pages.su_site_tech_contact +field_name: su_site_tech_contact +entity_type: config_pages +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/rabbit_hole.behavior_settings.taxonomy_vocabulary_site_owner_orgs.yml b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_site_owner_orgs.yml new file mode 100644 index 000000000..8b4c8ebcd --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.taxonomy_vocabulary_site_owner_orgs.yml @@ -0,0 +1,14 @@ +uuid: 8cc7ed49-5f48-4d6d-90ad-460658804a0b +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.site_owner_orgs +id: taxonomy_vocabulary_site_owner_orgs +entity_type_id: taxonomy_vocabulary +entity_id: site_owner_orgs +action: page_not_found +allow_override: 0 +redirect: '' +redirect_code: 301 +redirect_fallback_action: access_denied diff --git a/config/sync/taxonomy.vocabulary.site_owner_orgs.yml b/config/sync/taxonomy.vocabulary.site_owner_orgs.yml new file mode 100644 index 000000000..bab4dc8a4 --- /dev/null +++ b/config/sync/taxonomy.vocabulary.site_owner_orgs.yml @@ -0,0 +1,24 @@ +uuid: 0611ae1d-2ab4-46c3-9cc8-2259355f0852 +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: 'Site Owner Orgs' +vid: site_owner_orgs +description: '' +weight: 0 diff --git a/config/sync/user.role.site_manager.yml b/config/sync/user.role.site_manager.yml index 6dfa56831..0fc0b71af 100644 --- a/config/sync/user.role.site_manager.yml +++ b/config/sync/user.role.site_manager.yml @@ -113,6 +113,7 @@ permissions: - 'create terms in basic_page_types' - 'create terms in event_audience' - 'create terms in media_tags' + - 'create terms in media_tags' - 'create terms in stanford_event_types' - 'create terms in stanford_news_topics' - 'create terms in stanford_person_types' @@ -164,6 +165,7 @@ permissions: - 'delete terms in basic_page_types' - 'delete terms in event_audience' - 'delete terms in media_tags' + - 'delete terms in media_tags' - 'delete terms in stanford_event_types' - 'delete terms in stanford_news_topics' - 'delete terms in stanford_person_types' @@ -215,6 +217,7 @@ permissions: - 'edit terms in basic_page_types' - 'edit terms in event_audience' - 'edit terms in media_tags' + - 'edit terms in media_tags' - 'edit terms in stanford_event_types' - 'edit terms in stanford_news_topics' - 'edit terms in stanford_person_types' diff --git a/content/config_pages/0d7e973e-6b97-4243-a373-d486a581eb84.yml b/content/config_pages/0d7e973e-6b97-4243-a373-d486a581eb84.yml index e2c801a02..9b77add1a 100644 --- a/content/config_pages/0d7e973e-6b97-4243-a373-d486a581eb84.yml +++ b/content/config_pages/0d7e973e-6b97-4243-a373-d486a581eb84.yml @@ -3,6 +3,8 @@ _meta: entity_type: config_pages uuid: 0d7e973e-6b97-4243-a373-d486a581eb84 bundle: stanford_basic_site_settings + depends: + 0966784d-9371-4a7b-8c33-fb49253a5667: taxonomy_term default: label: - @@ -10,12 +12,12 @@ default: context: - value: 'a:0:{}' - su_hide_ext_link_icons: - - - value: true - su_hide_site_search: + su_site_new_menu: - value: false - su_site_dropdowns: + su_site_nobots: - value: false + su_site_renewal_due: + - + value: '2023-01-01T00:00:00' diff --git a/content/taxonomy_term/0041f7fa-7608-4a39-9165-eb0fb9c592d5.yml b/content/taxonomy_term/0041f7fa-7608-4a39-9165-eb0fb9c592d5.yml new file mode 100644 index 000000000..17739c502 --- /dev/null +++ b/content/taxonomy_term/0041f7fa-7608-4a39-9165-eb0fb9c592d5.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 0041f7fa-7608-4a39-9165-eb0fb9c592d5 + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Vice Provost for Student Affairs (VPSA)' + weight: + - + value: 34 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Vice Provost for Student Affairs (VPSA) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/56' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/03d4f98a-d62c-47a2-85a5-71a47c7fe1ef.yml b/content/taxonomy_term/03d4f98a-d62c-47a2-85a5-71a47c7fe1ef.yml index df9504e0a..079369d9b 100644 --- a/content/taxonomy_term/03d4f98a-d62c-47a2-85a5-71a47c7fe1ef.yml +++ b/content/taxonomy_term/03d4f98a-d62c-47a2-85a5-71a47c7fe1ef.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Research | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/19' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: '' diff --git a/content/taxonomy_term/04a17e8e-a333-47ca-b5db-9d5989cbae8e.yml b/content/taxonomy_term/04a17e8e-a333-47ca-b5db-9d5989cbae8e.yml new file mode 100644 index 000000000..a032bb6da --- /dev/null +++ b/content/taxonomy_term/04a17e8e-a333-47ca-b5db-9d5989cbae8e.yml @@ -0,0 +1,55 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 04a17e8e-a333-47ca-b5db-9d5989cbae8e + bundle: site_owner_orgs + default_langcode: en + depends: + 0041f7fa-7608-4a39-9165-eb0fb9c592d5: taxonomy_term +default: + status: + - + value: true + name: + - + value: 'Registrars Office' + weight: + - + value: 1 + parent: + - + entity: 0041f7fa-7608-4a39-9165-eb0fb9c592d5 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Registrars Office | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/57' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/04c17e9e-df3a-49d1-b65e-21dd7c13d191.yml b/content/taxonomy_term/04c17e9e-df3a-49d1-b65e-21dd7c13d191.yml index 092504d93..d875cf545 100644 --- a/content/taxonomy_term/04c17e9e-df3a-49d1-b65e-21dd7c13d191.yml +++ b/content/taxonomy_term/04c17e9e-df3a-49d1-b65e-21dd7c13d191.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Blog | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/news/blog' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /news/blog diff --git a/content/taxonomy_term/0da6a528-91d9-48d9-bbf0-7c1e70bf5873.yml b/content/taxonomy_term/0da6a528-91d9-48d9-bbf0-7c1e70bf5873.yml index 4f41bc0be..3507e116a 100644 --- a/content/taxonomy_term/0da6a528-91d9-48d9-bbf0-7c1e70bf5873.yml +++ b/content/taxonomy_term/0da6a528-91d9-48d9-bbf0-7c1e70bf5873.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Staff | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/people/staff' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /people/staff diff --git a/content/taxonomy_term/12ea0561-87fb-4882-8e59-1e1e3adec10a.yml b/content/taxonomy_term/12ea0561-87fb-4882-8e59-1e1e3adec10a.yml index 229f05e9c..0d78d8271 100644 --- a/content/taxonomy_term/12ea0561-87fb-4882-8e59-1e1e3adec10a.yml +++ b/content/taxonomy_term/12ea0561-87fb-4882-8e59-1e1e3adec10a.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'White Paper | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/publications/white-paper' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /publications/white-paper diff --git a/content/taxonomy_term/18fad5d5-356e-420c-83b0-6df80c1b6172.yml b/content/taxonomy_term/18fad5d5-356e-420c-83b0-6df80c1b6172.yml index 85f36a96a..1565736aa 100644 --- a/content/taxonomy_term/18fad5d5-356e-420c-83b0-6df80c1b6172.yml +++ b/content/taxonomy_term/18fad5d5-356e-420c-83b0-6df80c1b6172.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Journal Article | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/publications/journal-article' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /publications/journal-article diff --git a/content/taxonomy_term/1eaae651-e131-4915-82af-847ad44d0544.yml b/content/taxonomy_term/1eaae651-e131-4915-82af-847ad44d0544.yml index c1148021e..9d717a78c 100644 --- a/content/taxonomy_term/1eaae651-e131-4915-82af-847ad44d0544.yml +++ b/content/taxonomy_term/1eaae651-e131-4915-82af-847ad44d0544.yml @@ -22,6 +22,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Associate Professor | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/people/faculty/associate-professor' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /people/faculty/associate-professor diff --git a/content/taxonomy_term/1f588611-ddcd-4cca-b057-4cbcc1f791ae.yml b/content/taxonomy_term/1f588611-ddcd-4cca-b057-4cbcc1f791ae.yml new file mode 100644 index 000000000..c6bc12164 --- /dev/null +++ b/content/taxonomy_term/1f588611-ddcd-4cca-b057-4cbcc1f791ae.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 1f588611-ddcd-4cca-b057-4cbcc1f791ae + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Stanford Linear Accelerator (SLAC)' + weight: + - + value: 29 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Stanford Linear Accelerator (SLAC) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/42' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/2288b68b-04b4-43f4-9786-db54871a6e53.yml b/content/taxonomy_term/2288b68b-04b4-43f4-9786-db54871a6e53.yml index ee1b57433..4f6af2f71 100644 --- a/content/taxonomy_term/2288b68b-04b4-43f4-9786-db54871a6e53.yml +++ b/content/taxonomy_term/2288b68b-04b4-43f4-9786-db54871a6e53.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Resources | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/6' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: '' diff --git a/content/taxonomy_term/27f59ee7-d921-4c1a-8c32-175eed3b9d67.yml b/content/taxonomy_term/27f59ee7-d921-4c1a-8c32-175eed3b9d67.yml index 9052355c4..ac20b300a 100644 --- a/content/taxonomy_term/27f59ee7-d921-4c1a-8c32-175eed3b9d67.yml +++ b/content/taxonomy_term/27f59ee7-d921-4c1a-8c32-175eed3b9d67.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Thesis | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/publications/thesis' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /publications/thesis diff --git a/content/taxonomy_term/32028190-0690-423e-ba2a-723b0af0febb.yml b/content/taxonomy_term/32028190-0690-423e-ba2a-723b0af0febb.yml new file mode 100644 index 000000000..db56de0b6 --- /dev/null +++ b/content/taxonomy_term/32028190-0690-423e-ba2a-723b0af0febb.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 32028190-0690-423e-ba2a-723b0af0febb + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Residential & Dining Enterprises (R&DE)' + weight: + - + value: 19 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Residential & Dining Enterprises (R&DE) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/54' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/33b947db-a1d0-4063-ba6a-bec47bc4e006.yml b/content/taxonomy_term/33b947db-a1d0-4063-ba6a-bec47bc4e006.yml new file mode 100644 index 000000000..16bae9e96 --- /dev/null +++ b/content/taxonomy_term/33b947db-a1d0-4063-ba6a-bec47bc4e006.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 33b947db-a1d0-4063-ba6a-bec47bc4e006 + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Stanford University Libraries (SUL)' + weight: + - + value: 31 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Stanford University Libraries (SUL) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/60' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/35a291b2-8f74-4bb8-bc62-39e21c80e77c.yml b/content/taxonomy_term/35a291b2-8f74-4bb8-bc62-39e21c80e77c.yml new file mode 100644 index 000000000..c36f316c2 --- /dev/null +++ b/content/taxonomy_term/35a291b2-8f74-4bb8-bc62-39e21c80e77c.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 35a291b2-8f74-4bb8-bc62-39e21c80e77c + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Offices of President and Provost (PPO)' + weight: + - + value: 18 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Offices of President and Provost (PPO) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/38' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/3a4ad061-c28c-4125-9183-6ae995038f3f.yml b/content/taxonomy_term/3a4ad061-c28c-4125-9183-6ae995038f3f.yml new file mode 100644 index 000000000..5ac85be9e --- /dev/null +++ b/content/taxonomy_term/3a4ad061-c28c-4125-9183-6ae995038f3f.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 3a4ad061-c28c-4125-9183-6ae995038f3f + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Stanford Center for Professional Development (SCPD)' + weight: + - + value: 25 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Stanford Center for Professional Development (SCPD) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/73' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/3d2804ba-b2d4-42f2-8723-74aefa5e98c8.yml b/content/taxonomy_term/3d2804ba-b2d4-42f2-8723-74aefa5e98c8.yml index f977788f8..e9e25ecc1 100644 --- a/content/taxonomy_term/3d2804ba-b2d4-42f2-8723-74aefa5e98c8.yml +++ b/content/taxonomy_term/3d2804ba-b2d4-42f2-8723-74aefa5e98c8.yml @@ -22,6 +22,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Completed | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/30' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: '' diff --git a/content/taxonomy_term/459e190b-ab37-490a-b679-967dde57b5ce.yml b/content/taxonomy_term/459e190b-ab37-490a-b679-967dde57b5ce.yml index b94c3e47c..6fbec08b6 100644 --- a/content/taxonomy_term/459e190b-ab37-490a-b679-967dde57b5ce.yml +++ b/content/taxonomy_term/459e190b-ab37-490a-b679-967dde57b5ce.yml @@ -22,6 +22,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Active | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/25' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: '' diff --git a/content/taxonomy_term/46cb7fbc-27f1-483a-99b4-867600410138.yml b/content/taxonomy_term/46cb7fbc-27f1-483a-99b4-867600410138.yml new file mode 100644 index 000000000..215f459d8 --- /dev/null +++ b/content/taxonomy_term/46cb7fbc-27f1-483a-99b4-867600410138.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 46cb7fbc-27f1-483a-99b4-867600410138 + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Graduate School of Education (GSE)' + weight: + - + value: 12 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Graduate School of Education (GSE) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/66' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/495440e1-742e-445f-8b77-9a972ecb82ff.yml b/content/taxonomy_term/495440e1-742e-445f-8b77-9a972ecb82ff.yml new file mode 100644 index 000000000..b01fe0bd2 --- /dev/null +++ b/content/taxonomy_term/495440e1-742e-445f-8b77-9a972ecb82ff.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 495440e1-742e-445f-8b77-9a972ecb82ff + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Staff Group/Community of Practice' + weight: + - + value: 23 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Staff Group/Community of Practice | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/72' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/55627a30-9032-44d6-aca9-aa43fc037c1e.yml b/content/taxonomy_term/55627a30-9032-44d6-aca9-aa43fc037c1e.yml new file mode 100644 index 000000000..ed3708836 --- /dev/null +++ b/content/taxonomy_term/55627a30-9032-44d6-aca9-aa43fc037c1e.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 55627a30-9032-44d6-aca9-aa43fc037c1e + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Office of General Counsel (OGC)' + weight: + - + value: 17 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Office of General Counsel (OGC) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/40' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/5d9e72d5-45b1-43ab-afae-f1e5bd55007f.yml b/content/taxonomy_term/5d9e72d5-45b1-43ab-afae-f1e5bd55007f.yml new file mode 100644 index 000000000..fe5646a1a --- /dev/null +++ b/content/taxonomy_term/5d9e72d5-45b1-43ab-afae-f1e5bd55007f.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 5d9e72d5-45b1-43ab-afae-f1e5bd55007f + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Stanford Doerr School of Sustainability (SDSS)' + weight: + - + value: 26 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Stanford Doerr School of Sustainability (SDSS) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/61' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/5dc9098a-0307-4534-a651-37c476ef1934.yml b/content/taxonomy_term/5dc9098a-0307-4534-a651-37c476ef1934.yml index adc76edc9..cbeb51807 100644 --- a/content/taxonomy_term/5dc9098a-0307-4534-a651-37c476ef1934.yml +++ b/content/taxonomy_term/5dc9098a-0307-4534-a651-37c476ef1934.yml @@ -22,6 +22,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Alumni | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/people/student/alumni' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /people/student/alumni diff --git a/content/taxonomy_term/5e07046b-302f-45c7-a46d-17350cbe001d.yml b/content/taxonomy_term/5e07046b-302f-45c7-a46d-17350cbe001d.yml new file mode 100644 index 000000000..9d076776d --- /dev/null +++ b/content/taxonomy_term/5e07046b-302f-45c7-a46d-17350cbe001d.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 5e07046b-302f-45c7-a46d-17350cbe001d + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Dean of Research (DoR)' + weight: + - + value: 9 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Dean of Research (DoR) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/63' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/5f6ea0cd-520a-4c99-a826-592ea9c8330c.yml b/content/taxonomy_term/5f6ea0cd-520a-4c99-a826-592ea9c8330c.yml new file mode 100644 index 000000000..0602c847e --- /dev/null +++ b/content/taxonomy_term/5f6ea0cd-520a-4c99-a826-592ea9c8330c.yml @@ -0,0 +1,55 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 5f6ea0cd-520a-4c99-a826-592ea9c8330c + bundle: site_owner_orgs + default_langcode: en + depends: + 0041f7fa-7608-4a39-9165-eb0fb9c592d5: taxonomy_term +default: + status: + - + value: true + name: + - + value: 'Student Group' + weight: + - + value: 2 + parent: + - + entity: 0041f7fa-7608-4a39-9165-eb0fb9c592d5 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Student Group | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/59' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/62bbda38-57a5-47e4-8c36-c70ea9f70f30.yml b/content/taxonomy_term/62bbda38-57a5-47e4-8c36-c70ea9f70f30.yml new file mode 100644 index 000000000..1ca38e380 --- /dev/null +++ b/content/taxonomy_term/62bbda38-57a5-47e4-8c36-c70ea9f70f30.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 62bbda38-57a5-47e4-8c36-c70ea9f70f30 + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Land, Building, and Real Estimate (LBRE)' + weight: + - + value: 15 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Land, Building, and Real Estimate (LBRE) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/55' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/62deaa58-ec4c-41e2-8681-d0e95965ea9d.yml b/content/taxonomy_term/62deaa58-ec4c-41e2-8681-d0e95965ea9d.yml new file mode 100644 index 000000000..019314fae --- /dev/null +++ b/content/taxonomy_term/62deaa58-ec4c-41e2-8681-d0e95965ea9d.yml @@ -0,0 +1,55 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 62deaa58-ec4c-41e2-8681-d0e95965ea9d + bundle: site_owner_orgs + default_langcode: en + depends: + e30a5335-3d70-4064-b143-6ab375e0267a: taxonomy_term +default: + status: + - + value: true + name: + - + value: UIT + weight: + - + value: 0 + parent: + - + entity: e30a5335-3d70-4064-b143-6ab375e0267a + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'UIT | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/44' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/6940df7a-2ad4-4a64-93a8-8218a64e8169.yml b/content/taxonomy_term/6940df7a-2ad4-4a64-93a8-8218a64e8169.yml new file mode 100644 index 000000000..a71f81566 --- /dev/null +++ b/content/taxonomy_term/6940df7a-2ad4-4a64-93a8-8218a64e8169.yml @@ -0,0 +1,55 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 6940df7a-2ad4-4a64-93a8-8218a64e8169 + bundle: site_owner_orgs + default_langcode: en + depends: + 72272279-9f82-476f-999e-ee008881723c: taxonomy_term +default: + status: + - + value: true + name: + - + value: 'Office of Development (OOD)' + weight: + - + value: 0 + parent: + - + entity: 72272279-9f82-476f-999e-ee008881723c + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Office of Development (OOD) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/51' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/6fa0ffd2-ceda-4598-80c0-ed01c53b0b94.yml b/content/taxonomy_term/6fa0ffd2-ceda-4598-80c0-ed01c53b0b94.yml new file mode 100644 index 000000000..e83bd3870 --- /dev/null +++ b/content/taxonomy_term/6fa0ffd2-ceda-4598-80c0-ed01c53b0b94.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 6fa0ffd2-ceda-4598-80c0-ed01c53b0b94 + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'School of Engineering (SoE)' + weight: + - + value: 20 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'School of Engineering (SoE) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/65' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/72272279-9f82-476f-999e-ee008881723c.yml b/content/taxonomy_term/72272279-9f82-476f-999e-ee008881723c.yml new file mode 100644 index 000000000..6ecc6ed39 --- /dev/null +++ b/content/taxonomy_term/72272279-9f82-476f-999e-ee008881723c.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 72272279-9f82-476f-999e-ee008881723c + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Office of External Relations (EXRE)' + weight: + - + value: 16 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Office of External Relations (EXRE) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/49' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/74d939be-aef1-4b26-8ea3-91f6140fe9d6.yml b/content/taxonomy_term/74d939be-aef1-4b26-8ea3-91f6140fe9d6.yml index 33d0a2c3c..1ae820856 100644 --- a/content/taxonomy_term/74d939be-aef1-4b26-8ea3-91f6140fe9d6.yml +++ b/content/taxonomy_term/74d939be-aef1-4b26-8ea3-91f6140fe9d6.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Faculty | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/people/faculty' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /people/faculty diff --git a/content/taxonomy_term/7888c194-dcee-4cbb-866d-b59f44113396.yml b/content/taxonomy_term/7888c194-dcee-4cbb-866d-b59f44113396.yml new file mode 100644 index 000000000..931e9fe2c --- /dev/null +++ b/content/taxonomy_term/7888c194-dcee-4cbb-866d-b59f44113396.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 7888c194-dcee-4cbb-866d-b59f44113396 + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Department of Athletics, Physical Education, and Recreation (DAPER)' + weight: + - + value: 10 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Department of Athletics, Physical Education, and Recreation (DAPER) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/62' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/849e72ee-29f5-481d-921f-769d99814af4.yml b/content/taxonomy_term/849e72ee-29f5-481d-921f-769d99814af4.yml index 18b90f4af..72f1c7a76 100644 --- a/content/taxonomy_term/849e72ee-29f5-481d-921f-769d99814af4.yml +++ b/content/taxonomy_term/849e72ee-29f5-481d-921f-769d99814af4.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Spotlights | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/14' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: '' diff --git a/content/taxonomy_term/87edc9eb-344d-4dde-8b8f-e78dff007eba.yml b/content/taxonomy_term/87edc9eb-344d-4dde-8b8f-e78dff007eba.yml new file mode 100644 index 000000000..d1688970b --- /dev/null +++ b/content/taxonomy_term/87edc9eb-344d-4dde-8b8f-e78dff007eba.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 87edc9eb-344d-4dde-8b8f-e78dff007eba + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Vice Provost for Undergraduate Education (VPUE)' + weight: + - + value: 35 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Vice Provost for Undergraduate Education (VPUE) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/53' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/888c30d5-39de-4c44-b76a-8766f27309b4.yml b/content/taxonomy_term/888c30d5-39de-4c44-b76a-8766f27309b4.yml index e5ef9872f..58a0febf0 100644 --- a/content/taxonomy_term/888c30d5-39de-4c44-b76a-8766f27309b4.yml +++ b/content/taxonomy_term/888c30d5-39de-4c44-b76a-8766f27309b4.yml @@ -22,6 +22,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Department Administrator | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/people/staff/department-administrator' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /people/staff/department-administrator diff --git a/content/taxonomy_term/896d41ff-faec-4ad0-81d1-3adb87c93b00.yml b/content/taxonomy_term/896d41ff-faec-4ad0-81d1-3adb87c93b00.yml index 4063bc3fc..94b8b7913 100644 --- a/content/taxonomy_term/896d41ff-faec-4ad0-81d1-3adb87c93b00.yml +++ b/content/taxonomy_term/896d41ff-faec-4ad0-81d1-3adb87c93b00.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Other | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/people/other' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /people/other diff --git a/content/taxonomy_term/8a4adb57-81db-42f0-a047-17f93160018b.yml b/content/taxonomy_term/8a4adb57-81db-42f0-a047-17f93160018b.yml index 6bec8cd49..af76c2c47 100644 --- a/content/taxonomy_term/8a4adb57-81db-42f0-a047-17f93160018b.yml +++ b/content/taxonomy_term/8a4adb57-81db-42f0-a047-17f93160018b.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Awards | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/9' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: '' diff --git a/content/taxonomy_term/8ad381b4-5b30-4afe-83f9-32ab80d009f6.yml b/content/taxonomy_term/8ad381b4-5b30-4afe-83f9-32ab80d009f6.yml new file mode 100644 index 000000000..72500fb16 --- /dev/null +++ b/content/taxonomy_term/8ad381b4-5b30-4afe-83f9-32ab80d009f6.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 8ad381b4-5b30-4afe-83f9-32ab80d009f6 + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Stanford Law School (SLS)' + weight: + - + value: 28 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Stanford Law School (SLS) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/67' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/8dfbbc5f-2bfb-46ae-b00f-1245a6ad6843.yml b/content/taxonomy_term/8dfbbc5f-2bfb-46ae-b00f-1245a6ad6843.yml new file mode 100644 index 000000000..a900ab482 --- /dev/null +++ b/content/taxonomy_term/8dfbbc5f-2bfb-46ae-b00f-1245a6ad6843.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 8dfbbc5f-2bfb-46ae-b00f-1245a6ad6843 + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Stanford Management Company' + weight: + - + value: 30 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Stanford Management Company | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/47' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/94f3c757-f2e9-4ac7-a61a-974406fdeb13.yml b/content/taxonomy_term/94f3c757-f2e9-4ac7-a61a-974406fdeb13.yml index 59eac0476..7e102a586 100644 --- a/content/taxonomy_term/94f3c757-f2e9-4ac7-a61a-974406fdeb13.yml +++ b/content/taxonomy_term/94f3c757-f2e9-4ac7-a61a-974406fdeb13.yml @@ -22,6 +22,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Graduate Student | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/people/student/graduate-student' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /people/student/graduate-student diff --git a/content/taxonomy_term/96efe870-d4da-44e4-a52b-b3eea9f670f9.yml b/content/taxonomy_term/96efe870-d4da-44e4-a52b-b3eea9f670f9.yml index b5d0b2e44..605c5f055 100644 --- a/content/taxonomy_term/96efe870-d4da-44e4-a52b-b3eea9f670f9.yml +++ b/content/taxonomy_term/96efe870-d4da-44e4-a52b-b3eea9f670f9.yml @@ -22,6 +22,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Emeritus | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/people/faculty/emeritus' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /people/faculty/emeritus diff --git a/content/taxonomy_term/9856eb23-d550-4103-a078-18da2d414be9.yml b/content/taxonomy_term/9856eb23-d550-4103-a078-18da2d414be9.yml new file mode 100644 index 000000000..bcdb10e3b --- /dev/null +++ b/content/taxonomy_term/9856eb23-d550-4103-a078-18da2d414be9.yml @@ -0,0 +1,55 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 9856eb23-d550-4103-a078-18da2d414be9 + bundle: site_owner_orgs + default_langcode: en + depends: + 72272279-9f82-476f-999e-ee008881723c: taxonomy_term +default: + status: + - + value: true + name: + - + value: 'University Communications (UCOMM)' + weight: + - + value: 1 + parent: + - + entity: 72272279-9f82-476f-999e-ee008881723c + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'University Communications (UCOMM) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/50' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/a4295782-6e2c-4bfe-873e-dbdc730844bb.yml b/content/taxonomy_term/a4295782-6e2c-4bfe-873e-dbdc730844bb.yml index f236c87dc..70a1881d9 100644 --- a/content/taxonomy_term/a4295782-6e2c-4bfe-873e-dbdc730844bb.yml +++ b/content/taxonomy_term/a4295782-6e2c-4bfe-873e-dbdc730844bb.yml @@ -22,6 +22,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Assistant Professor | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/people/faculty/assistant-professor' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /people/faculty/assistant-professor diff --git a/content/taxonomy_term/a464983f-65d2-4396-8db5-b64dc680818d.yml b/content/taxonomy_term/a464983f-65d2-4396-8db5-b64dc680818d.yml new file mode 100644 index 000000000..790f8a8b6 --- /dev/null +++ b/content/taxonomy_term/a464983f-65d2-4396-8db5-b64dc680818d.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: a464983f-65d2-4396-8db5-b64dc680818d + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Human Resources (HR)' + weight: + - + value: 14 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Human Resources (HR) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/45' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/a5ae8281-11c2-4f06-abc8-6b01d60b20a8.yml b/content/taxonomy_term/a5ae8281-11c2-4f06-abc8-6b01d60b20a8.yml new file mode 100644 index 000000000..b16590c18 --- /dev/null +++ b/content/taxonomy_term/a5ae8281-11c2-4f06-abc8-6b01d60b20a8.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: a5ae8281-11c2-4f06-abc8-6b01d60b20a8 + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Hoover Institution' + weight: + - + value: 13 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Hoover Institution | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/41' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/af0d33be-0896-4991-82f7-bdab3ef9ca57.yml b/content/taxonomy_term/af0d33be-0896-4991-82f7-bdab3ef9ca57.yml new file mode 100644 index 000000000..5a309a01b --- /dev/null +++ b/content/taxonomy_term/af0d33be-0896-4991-82f7-bdab3ef9ca57.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: af0d33be-0896-4991-82f7-bdab3ef9ca57 + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Vice President of the Arts (VPA)' + weight: + - + value: 32 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Vice President of the Arts (VPA) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/39' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/b0efc5ea-fbf1-482d-9294-c298d76e2800.yml b/content/taxonomy_term/b0efc5ea-fbf1-482d-9294-c298d76e2800.yml new file mode 100644 index 000000000..187ee5b16 --- /dev/null +++ b/content/taxonomy_term/b0efc5ea-fbf1-482d-9294-c298d76e2800.yml @@ -0,0 +1,55 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: b0efc5ea-fbf1-482d-9294-c298d76e2800 + bundle: site_owner_orgs + default_langcode: en + depends: + 0041f7fa-7608-4a39-9165-eb0fb9c592d5: taxonomy_term +default: + status: + - + value: true + name: + - + value: 'ASSU-recognized Student Group' + weight: + - + value: 0 + parent: + - + entity: 0041f7fa-7608-4a39-9165-eb0fb9c592d5 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'ASSU-recognized Student Group | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/58' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/b1425aae-3d9b-4776-b617-485e54688d46.yml b/content/taxonomy_term/b1425aae-3d9b-4776-b617-485e54688d46.yml index 031559b14..8ba5b8b5e 100644 --- a/content/taxonomy_term/b1425aae-3d9b-4776-b617-485e54688d46.yml +++ b/content/taxonomy_term/b1425aae-3d9b-4776-b617-485e54688d46.yml @@ -22,6 +22,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Student Services | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/people/staff/student-services' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /people/staff/student-services diff --git a/content/taxonomy_term/b30bead1-2ee4-4883-aad8-1590a8877e9c.yml b/content/taxonomy_term/b30bead1-2ee4-4883-aad8-1590a8877e9c.yml index 5062c626e..5a82d69e9 100644 --- a/content/taxonomy_term/b30bead1-2ee4-4883-aad8-1590a8877e9c.yml +++ b/content/taxonomy_term/b30bead1-2ee4-4883-aad8-1590a8877e9c.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Announcement | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/news/announcement' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /news/announcement diff --git a/content/taxonomy_term/b6d9a5f0-96f1-4b79-8604-cdefd0bb424c.yml b/content/taxonomy_term/b6d9a5f0-96f1-4b79-8604-cdefd0bb424c.yml new file mode 100644 index 000000000..afe3faf66 --- /dev/null +++ b/content/taxonomy_term/b6d9a5f0-96f1-4b79-8604-cdefd0bb424c.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: b6d9a5f0-96f1-4b79-8604-cdefd0bb424c + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Admissions & Financial Aid' + weight: + - + value: 6 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Admissions & Financial Aid | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/52' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/bc30efe2-b577-4492-a806-1b941c56684f.yml b/content/taxonomy_term/bc30efe2-b577-4492-a806-1b941c56684f.yml index 1b387edda..c302e567f 100644 --- a/content/taxonomy_term/bc30efe2-b577-4492-a806-1b941c56684f.yml +++ b/content/taxonomy_term/bc30efe2-b577-4492-a806-1b941c56684f.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Presentation | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/publications/presentation' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /publications/presentation diff --git a/content/taxonomy_term/ca79456c-d2da-452a-aa0b-2faa285aec2e.yml b/content/taxonomy_term/ca79456c-d2da-452a-aa0b-2faa285aec2e.yml index 7301d6341..799792770 100644 --- a/content/taxonomy_term/ca79456c-d2da-452a-aa0b-2faa285aec2e.yml +++ b/content/taxonomy_term/ca79456c-d2da-452a-aa0b-2faa285aec2e.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Featured | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/5' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: '' diff --git a/content/taxonomy_term/d08fb78b-7152-483a-8e3d-b27490638bac.yml b/content/taxonomy_term/d08fb78b-7152-483a-8e3d-b27490638bac.yml index cc578db97..4823e5783 100644 --- a/content/taxonomy_term/d08fb78b-7152-483a-8e3d-b27490638bac.yml +++ b/content/taxonomy_term/d08fb78b-7152-483a-8e3d-b27490638bac.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Book | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/publications/book' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /publications/book diff --git a/content/taxonomy_term/d6389b12-e0b7-413a-a464-e9c2939b55aa.yml b/content/taxonomy_term/d6389b12-e0b7-413a-a464-e9c2939b55aa.yml new file mode 100644 index 000000000..6a94206d6 --- /dev/null +++ b/content/taxonomy_term/d6389b12-e0b7-413a-a464-e9c2939b55aa.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: d6389b12-e0b7-413a-a464-e9c2939b55aa + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Graduate School of Business (GSB)' + weight: + - + value: 11 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Graduate School of Business (GSB) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/68' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/dc6ac0c7-4e4d-4cd1-966f-d03ec01d32f2.yml b/content/taxonomy_term/dc6ac0c7-4e4d-4cd1-966f-d03ec01d32f2.yml new file mode 100644 index 000000000..66abaaeaf --- /dev/null +++ b/content/taxonomy_term/dc6ac0c7-4e4d-4cd1-966f-d03ec01d32f2.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: dc6ac0c7-4e4d-4cd1-966f-d03ec01d32f2 + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Stanford Alumni Association (SAA)' + weight: + - + value: 24 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Stanford Alumni Association (SAA) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/46' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/de0aa1c0-d860-4afb-b5e3-729542c9b773.yml b/content/taxonomy_term/de0aa1c0-d860-4afb-b5e3-729542c9b773.yml new file mode 100644 index 000000000..98da3077d --- /dev/null +++ b/content/taxonomy_term/de0aa1c0-d860-4afb-b5e3-729542c9b773.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: de0aa1c0-d860-4afb-b5e3-729542c9b773 + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'School of Humanities and Sciences (H&S)' + weight: + - + value: 21 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'School of Humanities and Sciences (H&S) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/64' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/de41c434-c418-4afd-aab3-6cdb4d2a8ddd.yml b/content/taxonomy_term/de41c434-c418-4afd-aab3-6cdb4d2a8ddd.yml index 31074a420..96a30e1fe 100644 --- a/content/taxonomy_term/de41c434-c418-4afd-aab3-6cdb4d2a8ddd.yml +++ b/content/taxonomy_term/de41c434-c418-4afd-aab3-6cdb4d2a8ddd.yml @@ -22,6 +22,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Professor | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/people/faculty/professor' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /people/faculty/professor diff --git a/content/taxonomy_term/e27eaa81-11c6-4381-88df-0f567d5e9bde.yml b/content/taxonomy_term/e27eaa81-11c6-4381-88df-0f567d5e9bde.yml new file mode 100644 index 000000000..6a48015e8 --- /dev/null +++ b/content/taxonomy_term/e27eaa81-11c6-4381-88df-0f567d5e9bde.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: e27eaa81-11c6-4381-88df-0f567d5e9bde + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'School of Medicine (SoM)' + weight: + - + value: 22 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'School of Medicine (SoM) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/70' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/e30a5335-3d70-4064-b143-6ab375e0267a.yml b/content/taxonomy_term/e30a5335-3d70-4064-b143-6ab375e0267a.yml new file mode 100644 index 000000000..c9fcc03a5 --- /dev/null +++ b/content/taxonomy_term/e30a5335-3d70-4064-b143-6ab375e0267a.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: e30a5335-3d70-4064-b143-6ab375e0267a + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Business Affairs (BA)' + weight: + - + value: 8 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Business Affairs (BA) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/43' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/e774e945-7dae-45ca-869d-921c909ffe95.yml b/content/taxonomy_term/e774e945-7dae-45ca-869d-921c909ffe95.yml index 0fb802c8a..959998aea 100644 --- a/content/taxonomy_term/e774e945-7dae-45ca-869d-921c909ffe95.yml +++ b/content/taxonomy_term/e774e945-7dae-45ca-869d-921c909ffe95.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Student | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/people/student' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /people/student diff --git a/content/taxonomy_term/e9601005-8d3b-4fe2-95de-0728eac3e6ed.yml b/content/taxonomy_term/e9601005-8d3b-4fe2-95de-0728eac3e6ed.yml index e0ae6b7bb..a33db05a3 100644 --- a/content/taxonomy_term/e9601005-8d3b-4fe2-95de-0728eac3e6ed.yml +++ b/content/taxonomy_term/e9601005-8d3b-4fe2-95de-0728eac3e6ed.yml @@ -20,6 +20,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Fellows | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/people/fellows' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /people/fellows diff --git a/content/taxonomy_term/ee2dfea1-f772-46d9-8746-5958c0e0d94e.yml b/content/taxonomy_term/ee2dfea1-f772-46d9-8746-5958c0e0d94e.yml new file mode 100644 index 000000000..953fcc3e6 --- /dev/null +++ b/content/taxonomy_term/ee2dfea1-f772-46d9-8746-5958c0e0d94e.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: ee2dfea1-f772-46d9-8746-5958c0e0d94e + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Stanford Healthcare/ Stanford Medicine' + weight: + - + value: 27 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Stanford Healthcare/ Stanford Medicine | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/71' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/ef8ea5fd-ef65-4565-8417-7331b048d464.yml b/content/taxonomy_term/ef8ea5fd-ef65-4565-8417-7331b048d464.yml new file mode 100644 index 000000000..f2c83bf53 --- /dev/null +++ b/content/taxonomy_term/ef8ea5fd-ef65-4565-8417-7331b048d464.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: ef8ea5fd-ef65-4565-8417-7331b048d464 + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Board of Trustees' + weight: + - + value: 7 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Board of Trustees | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/48' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/f1ea54b3-3c20-4cf4-8c4c-8fb741780bec.yml b/content/taxonomy_term/f1ea54b3-3c20-4cf4-8c4c-8fb741780bec.yml new file mode 100644 index 000000000..dbb0c6d88 --- /dev/null +++ b/content/taxonomy_term/f1ea54b3-3c20-4cf4-8c4c-8fb741780bec.yml @@ -0,0 +1,53 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: f1ea54b3-3c20-4cf4-8c4c-8fb741780bec + bundle: site_owner_orgs + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Vice Provost for Graduate Education (VPGE)' + weight: + - + value: 33 + parent: + - + target_id: 0 + revision_translation_affected: + - + value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Vice Provost for Graduate Education (VPGE) | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/taxonomy/term/69' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' + path: + - + alias: '' + langcode: en + pathauto: 1 diff --git a/content/taxonomy_term/f25eec9d-acab-4bf4-a6ac-b84f684f5b8b.yml b/content/taxonomy_term/f25eec9d-acab-4bf4-a6ac-b84f684f5b8b.yml index f2a108e20..1e122288b 100644 --- a/content/taxonomy_term/f25eec9d-acab-4bf4-a6ac-b84f684f5b8b.yml +++ b/content/taxonomy_term/f25eec9d-acab-4bf4-a6ac-b84f684f5b8b.yml @@ -22,6 +22,32 @@ default: revision_translation_affected: - value: true + metatag: + - + tag: meta + attributes: + name: title + content: 'Lecturer | University' + - + tag: link + attributes: + rel: canonical + href: 'http://default/people/faculty/lecturer' + - + tag: meta + attributes: + property: 'og:site_name' + content: University + - + tag: meta + attributes: + property: 'og:type' + content: website + - + tag: meta + attributes: + property: 'og:url' + content: 'http://default/home' path: - alias: /people/faculty/lecturer diff --git a/src/EventSubscriber/EventSubscriber.php b/src/EventSubscriber/EventSubscriber.php index 78182fd70..97f1d1d59 100644 --- a/src/EventSubscriber/EventSubscriber.php +++ b/src/EventSubscriber/EventSubscriber.php @@ -4,16 +4,24 @@ use Acquia\DrupalEnvironmentDetector\AcquiaDrupalEnvironmentDetector; use Drupal\Core\File\FileSystemInterface; +use Drupal\Core\Installer\InstallerKernel; use Drupal\Core\Logger\LoggerChannelFactoryInterface; +use Drupal\Core\Messenger\MessengerInterface; use Drupal\Core\StreamWrapper\StreamWrapperManager; +use Drupal\Core\Url; use Drupal\core_event_dispatcher\EntityHookEvents; use Drupal\core_event_dispatcher\Event\Entity\EntityDeleteEvent; use Drupal\core_event_dispatcher\Event\Entity\EntityInsertEvent; +use Drupal\core_event_dispatcher\Event\Entity\EntityPresaveEvent; +use Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface; use Drupal\default_content\Event\DefaultContentEvents; use Drupal\default_content\Event\ImportEvent; use Drupal\file\FileInterface; use Drupal\user\RoleInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface; +use Symfony\Component\HttpFoundation\RedirectResponse; +use Symfony\Component\HttpKernel\Event\RequestEvent; +use Symfony\Component\HttpKernel\KernelEvents; /** * Class EventSubscriber. @@ -49,7 +57,9 @@ public static function getSubscribedEvents() { return [ DefaultContentEvents::IMPORT => 'onContentImport', EntityHookEvents::ENTITY_INSERT => 'onEntityInsert', + EntityHookEvents::ENTITY_PRE_SAVE => 'onEntityPreSave', EntityHookEvents::ENTITY_DELETE => 'onEntityDelete', + KernelEvents::REQUEST => 'onKernelRequest', ]; } @@ -60,8 +70,10 @@ public static function getSubscribedEvents() { * File system service. * @param \Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory * Logger factory service. + * @param \Drupal\Core\Messenger\MessengerInterface $messenger + * Messenger service. */ - public function __construct(protected FileSystemInterface $fileSystem, LoggerChannelFactoryInterface $logger_factory) { + public function __construct(protected FileSystemInterface $fileSystem, LoggerChannelFactoryInterface $logger_factory, protected MessengerInterface $messenger) { $this->logger = $logger_factory->get('stanford_profile'); } @@ -77,6 +89,70 @@ public function onEntityInsert(EntityInsertEvent $event) { } } + /** + * On saving the config page, set the renewal date field. + * + * @param \Drupal\core_event_dispatcher\Event\Entity\EntityPresaveEvent $event + * Entity presave event. + */ + public function onEntityPreSave(EntityPresaveEvent $event) { + $entity = $event->getEntity(); + if ( + $entity->getEntityTypeId() == 'config_pages' && + $entity->bundle() == 'stanford_basic_site_settings' + ) { + $renewal_date = time() + (InstallerKernel::installationAttempted() ? 0 : 60 * 60 * 24 * 365); + $entity->set('su_site_renewal_due', date(DateTimeItemInterface::DATETIME_STORAGE_FORMAT, $renewal_date)); + } + } + + /** + * On kernel request, redirect the user to update contact information. + * + * @param \Symfony\Component\HttpKernel\Event\RequestEvent $event + * Triggered event. + */ + public function onKernelRequest(RequestEvent $event) { + $current_uri = $event->getRequest()->getRequestUri(); + + if ( + $current_uri != '/admin/config/system/basic-site-settings' && + self::redirectUser() + ) { + $config_page_url = Url::fromRoute('config_pages.stanford_basic_site_settings'); + $this->messenger->addWarning('Please update or verify the site contact information.'); + $event->setResponse(new RedirectResponse($config_page_url->toString() . '#contact')); + } + } + + /** + * Check if the current user should be redirected to the site settings form. + * + * @return bool + * Redirect the user. + */ + protected static function redirectUser() { + $cache = \Drupal::cache(); + if ($cache_data = $cache->get('su_renew_site')) { + return $cache_data->data; + } + + /** @var \Drupal\config_pages\ConfigPagesLoaderServiceInterface $config_page_loader */ + $config_page_loader = \Drupal::service('config_pages.loader'); + $renewal_date = $config_page_loader->getValue('stanford_basic_site_settings', 'su_site_renewal_due', 0, 'value') ?: date(DateTimeItemInterface::DATETIME_STORAGE_FORMAT); + + // Check for config page edit access and ignore if the user is an + // administrator. That way devs don't get forced into submitting the form. + $current_user = \Drupal::currentUser(); + $site_manager = $current_user->hasPermission('edit stanford_basic_site_settings config page entity') && !in_array('administrator', $current_user->getRoles()); + + // If the renewal date has passed, they should be redirected. + $needs_renewal = $site_manager && strtotime($renewal_date) - time(); + $cache->set('su_renew_site', $needs_renewal, time() + 60 * 60 * 24); + + return $needs_renewal; + } + /** * On entity delete event. * diff --git a/stanford_profile.info.yml b/stanford_profile.info.yml index b4edd2433..248edc78d 100644 --- a/stanford_profile.info.yml +++ b/stanford_profile.info.yml @@ -186,33 +186,69 @@ default_content: - 14f046ae-3f83-4a89-b967-5ee2965bf7e5 - ca67a0aa-0cf1-4334-ac1e-be6372afecc5 taxonomy_term: + - 0041f7fa-7608-4a39-9165-eb0fb9c592d5 - 03d4f98a-d62c-47a2-85a5-71a47c7fe1ef + - 04a17e8e-a333-47ca-b5db-9d5989cbae8e - 04c17e9e-df3a-49d1-b65e-21dd7c13d191 - 0da6a528-91d9-48d9-bbf0-7c1e70bf5873 - 12ea0561-87fb-4882-8e59-1e1e3adec10a - 18fad5d5-356e-420c-83b0-6df80c1b6172 - 1eaae651-e131-4915-82af-847ad44d0544 + - 1f588611-ddcd-4cca-b057-4cbcc1f791ae - 2288b68b-04b4-43f4-9786-db54871a6e53 - 27f59ee7-d921-4c1a-8c32-175eed3b9d67 + - 32028190-0690-423e-ba2a-723b0af0febb + - 33b947db-a1d0-4063-ba6a-bec47bc4e006 + - 35a291b2-8f74-4bb8-bc62-39e21c80e77c + - 3a4ad061-c28c-4125-9183-6ae995038f3f - 3d2804ba-b2d4-42f2-8723-74aefa5e98c8 - 459e190b-ab37-490a-b679-967dde57b5ce + - 46cb7fbc-27f1-483a-99b4-867600410138 + - 495440e1-742e-445f-8b77-9a972ecb82ff + - 55627a30-9032-44d6-aca9-aa43fc037c1e + - 5d9e72d5-45b1-43ab-afae-f1e5bd55007f - 5dc9098a-0307-4534-a651-37c476ef1934 + - 5e07046b-302f-45c7-a46d-17350cbe001d + - 5f6ea0cd-520a-4c99-a826-592ea9c8330c + - 62bbda38-57a5-47e4-8c36-c70ea9f70f30 + - 62deaa58-ec4c-41e2-8681-d0e95965ea9d + - 6940df7a-2ad4-4a64-93a8-8218a64e8169 + - 6fa0ffd2-ceda-4598-80c0-ed01c53b0b94 + - 72272279-9f82-476f-999e-ee008881723c - 74d939be-aef1-4b26-8ea3-91f6140fe9d6 + - 7888c194-dcee-4cbb-866d-b59f44113396 - 849e72ee-29f5-481d-921f-769d99814af4 + - 87edc9eb-344d-4dde-8b8f-e78dff007eba - 888c30d5-39de-4c44-b76a-8766f27309b4 - 896d41ff-faec-4ad0-81d1-3adb87c93b00 - 8a4adb57-81db-42f0-a047-17f93160018b + - 8ad381b4-5b30-4afe-83f9-32ab80d009f6 + - 8dfbbc5f-2bfb-46ae-b00f-1245a6ad6843 - 94f3c757-f2e9-4ac7-a61a-974406fdeb13 - 96efe870-d4da-44e4-a52b-b3eea9f670f9 + - 9856eb23-d550-4103-a078-18da2d414be9 - a4295782-6e2c-4bfe-873e-dbdc730844bb + - a464983f-65d2-4396-8db5-b64dc680818d + - a5ae8281-11c2-4f06-abc8-6b01d60b20a8 + - af0d33be-0896-4991-82f7-bdab3ef9ca57 + - b0efc5ea-fbf1-482d-9294-c298d76e2800 - b1425aae-3d9b-4776-b617-485e54688d46 - b30bead1-2ee4-4883-aad8-1590a8877e9c + - b6d9a5f0-96f1-4b79-8604-cdefd0bb424c - bc30efe2-b577-4492-a806-1b941c56684f - ca79456c-d2da-452a-aa0b-2faa285aec2e - d08fb78b-7152-483a-8e3d-b27490638bac + - d6389b12-e0b7-413a-a464-e9c2939b55aa + - dc6ac0c7-4e4d-4cd1-966f-d03ec01d32f2 + - de0aa1c0-d860-4afb-b5e3-729542c9b773 - de41c434-c418-4afd-aab3-6cdb4d2a8ddd + - e27eaa81-11c6-4381-88df-0f567d5e9bde + - e30a5335-3d70-4064-b143-6ab375e0267a - e774e945-7dae-45ca-869d-921c909ffe95 - e9601005-8d3b-4fe2-95de-0728eac3e6ed + - ee2dfea1-f772-46d9-8746-5958c0e0d94e + - ef8ea5fd-ef65-4565-8417-7331b048d464 + - f1ea54b3-3c20-4cf4-8c4c-8fb741780bec - f25eec9d-acab-4bf4-a6ac-b84f684f5b8b user: - 04eed9d5-1f78-43d1-9ab2-93587a4b7119 diff --git a/stanford_profile.post_update.php b/stanford_profile.post_update.php index e2e9442b8..3a3ed9d4f 100644 --- a/stanford_profile.post_update.php +++ b/stanford_profile.post_update.php @@ -7,6 +7,7 @@ use Drupal\block_content\Entity\BlockContent; use Drupal\block\Entity\Block; +use Drupal\Core\Serialization\Yaml; /** * Implements hook_removed_post_updates(). @@ -98,3 +99,35 @@ function stanford_profile_post_update_samlauth() { $ignore_settings->set('ignored_config_entities', $ignored)->save(); \Drupal::service('module_installer')->install(['stanford_samlauth']); } + +/** + * Create site org vocab and terms. + */ +function stanford_profile_post_update_site_orgs() { + $vocab_storage = \Drupal::entityTypeManager() + ->getStorage('taxonomy_vocabulary'); + if (!$vocab_storage->load('site_owner_orgs')) { + $vocab_storage->create([ + 'uuid' => '0611ae1d-2ab4-46c3-9cc8-2259355f0852', + 'vid' => 'site_owner_orgs', + 'name' => 'Site Owner Orgs', + ])->save(); + + $profile_name = \Drupal::config('core.extension')->get('profile'); + $profile_path = \Drupal::service('extension.list.profile') + ->getPath($profile_name); + + /** @var \Drupal\default_content\Normalizer\ContentEntityNormalizer $importer */ + $normalizer = \Drupal::service('default_content.content_entity_normalizer'); + + $files = \Drupal::service('default_content.content_file_storage') + ->scan("$profile_path/content/taxonomy_term"); + + foreach ($files as $file) { + $term = Yaml::decode(file_get_contents($file->uri)); + if ($term['_meta']['bundle'] == 'site_owner_orgs') { + $normalizer->denormalize($term)->save(); + } + } + } +} diff --git a/stanford_profile.services.yml b/stanford_profile.services.yml index a13d50538..b631e3526 100644 --- a/stanford_profile.services.yml +++ b/stanford_profile.services.yml @@ -4,7 +4,7 @@ services: parent: default_plugin_manager stanford_profile.event_subscriber: class: '\Drupal\stanford_profile\EventSubscriber\EventSubscriber' - arguments: ['@file_system', '@logger.factory'] + arguments: ['@file_system', '@logger.factory', '@messenger'] tags: - { name: 'event_subscriber' } stanford_profile.config_overrider: