diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 3c7d4f1a6..a5f4e058b 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -131,7 +131,6 @@ module: menu_ui: 0 metatag: 0 metatag_open_graph: 0 - metatag_page_manager: 0 metatag_twitter_cards: 0 metatag_verification: 0 migrate: 0 @@ -148,8 +147,6 @@ module: oembed_providers: 0 options: 0 page_cache: 0 - page_manager: 0 - page_manager_ui: 0 paragraphs_edit: 0 path: 0 path_alias: 0 diff --git a/config/sync/page_manager.page.event_series.yml b/config/sync/page_manager.page.event_series.yml deleted file mode 100644 index 1cb5d0f81..000000000 --- a/config/sync/page_manager.page.event_series.yml +++ /dev/null @@ -1,12 +0,0 @@ -uuid: 4e32318b-b634-4260-8807-44fc3dce8735 -langcode: en -status: true -dependencies: { } -id: event_series -label: 'Event Series' -description: 'A list of all event series ' -use_admin_theme: false -path: /event-series -access_logic: and -access_conditions: { } -parameters: { } diff --git a/config/sync/page_manager.page.node_view.yml b/config/sync/page_manager.page.node_view.yml deleted file mode 100644 index 4ae58dd31..000000000 --- a/config/sync/page_manager.page.node_view.yml +++ /dev/null @@ -1,18 +0,0 @@ -uuid: 171001d3-2eed-4182-ba4c-279c6cd1beda -langcode: en -status: false -dependencies: { } -_core: - default_config_hash: RCVWP-yHwxSNiQORMIabDgHMEVqOMW58w80BQgRFJ4k -id: node_view -label: 'Node view' -description: 'When enabled, this overrides the default Drupal behavior for displaying nodes at /node/{node}. If you add variants, you may use selection criteria such as node type or language or user access to provide different views of nodes. If no variant is selected, the default Drupal node view will be used. This page only affects nodes viewed as pages, it will not affect nodes viewed in lists or at other locations.' -use_admin_theme: false -path: '/node/{node}' -access_logic: and -access_conditions: { } -parameters: - node: - machine_name: node - label: Node - type: 'entity:node' diff --git a/config/sync/page_manager.page.stanford_events_past.yml b/config/sync/page_manager.page.stanford_events_past.yml deleted file mode 100644 index 2d0f42bb4..000000000 --- a/config/sync/page_manager.page.stanford_events_past.yml +++ /dev/null @@ -1,12 +0,0 @@ -uuid: daa79d68-e5bc-49ec-a8bc-799d2eba17fc -langcode: en -status: true -dependencies: { } -id: stanford_events_past -label: 'Events - Past' -description: 'Past events' -use_admin_theme: false -path: /events/past -access_logic: and -access_conditions: { } -parameters: { } diff --git a/config/sync/page_manager.page_variant.event_series-layout_builder-0.yml b/config/sync/page_manager.page_variant.event_series-layout_builder-0.yml deleted file mode 100644 index 67657f166..000000000 --- a/config/sync/page_manager.page_variant.event_series-layout_builder-0.yml +++ /dev/null @@ -1,75 +0,0 @@ -uuid: aadaf75d-4f05-49aa-85df-d034a4fc9e0f -langcode: en -status: true -dependencies: - config: - - page_manager.page.event_series -id: event_series-layout_builder-0 -label: 'Layout Builder' -weight: 0 -variant: layout_builder -variant_settings: - id: layout_builder - label: null - weight: 0 - uuid: a9fa4aaf-f0d6-4253-aff3-9e4f73b9cc67 - sections: - - - layout_id: jumpstart_ui_one_column - layout_settings: - label: Header - extra_classes: section-event-series-list--header - centered: centered-container - columns: default - components: - 7e322eed-9186-4bef-9e88-f8364e0bd364: - uuid: 7e322eed-9186-4bef-9e88-f8364e0bd364 - region: main - configuration: - id: jumpstart_ui_page_heading - label: 'Heading Block' - label_display: '0' - provider: jumpstart_ui - context_mapping: { } - heading_text: 'All Events Series' - wrapper: h1 - weight: 0 - additional: { } - third_party_settings: { } - - - layout_id: jumpstart_ui_one_column - layout_settings: - label: Items - extra_classes: section-event-series-list--items - centered: centered-container - columns: flex-8-of-12 - components: - f98f7604-b26c-42fa-8e2b-5d7301971cf5: - uuid: f98f7604-b26c-42fa-8e2b-5d7301971cf5 - region: main - configuration: - id: 'views_block:stanford_event_series-list_all' - label: '' - label_display: '0' - provider: views - context_mapping: { } - views_label: '' - items_per_page: none - weight: 1 - additional: { } - a438709e-e0b1-4526-92bf-15bc898f8cae: - uuid: a438709e-e0b1-4526-92bf-15bc898f8cae - region: main - configuration: - id: jumpstart_ui_skipnav_main_anchor - label: 'Main content anchor target' - label_display: '0' - provider: jumpstart_ui - context_mapping: { } - weight: 0 - additional: { } - third_party_settings: { } -page: event_series -selection_criteria: { } -selection_logic: and -static_context: { } diff --git a/config/sync/page_manager.page_variant.stanford_events_past-layout_builder-0.yml b/config/sync/page_manager.page_variant.stanford_events_past-layout_builder-0.yml deleted file mode 100644 index a870cdfa5..000000000 --- a/config/sync/page_manager.page_variant.stanford_events_past-layout_builder-0.yml +++ /dev/null @@ -1,93 +0,0 @@ -uuid: 53d33dc2-9ed4-462c-9c8a-641c026651c5 -langcode: en -status: true -dependencies: - config: - - page_manager.page.stanford_events_past - - views.view.stanford_events - module: - - jumpstart_ui - - views -id: stanford_events_past-layout_builder-0 -label: 'Layout Builder' -weight: 0 -variant: layout_builder -variant_settings: - id: layout_builder - label: null - weight: 0 - uuid: bef69e12-2e88-4e1c-a0cf-23736741f105 - sections: - - - layout_id: jumpstart_ui_one_column - layout_settings: - label: Header - extra_classes: section-events-past--header - centered: centered-container - columns: default - components: - 0f215804-4b92-45c1-a5ab-59eb3b7f3122: - uuid: 0f215804-4b92-45c1-a5ab-59eb3b7f3122 - region: main - configuration: - id: jumpstart_ui_page_heading - label: 'Heading Block' - label_display: '0' - provider: jumpstart_ui - context_mapping: { } - heading_text: 'Past Events' - wrapper: h1 - weight: 0 - additional: { } - third_party_settings: { } - - - layout_id: jumpstart_ui_one_column - layout_settings: - label: '' - extra_classes: '' - centered: centered-container - columns: flex-8-of-12 - components: - f932bc02-92a2-443a-b785-b11ef35f63ad: - uuid: f932bc02-92a2-443a-b785-b11ef35f63ad - region: main - configuration: - id: 'views_block:stanford_events-past_events_list_block' - label: '' - label_display: '0' - provider: views - context_mapping: { } - views_label: '' - items_per_page: none - weight: 2 - additional: { } - 6963d6b3-e3f1-48ae-9e7f-4b90a22c453e: - uuid: 6963d6b3-e3f1-48ae-9e7f-4b90a22c453e - region: main - configuration: - id: jumpstart_ui_skipnav_main_anchor - label: 'Main content anchor target' - label_display: '0' - provider: jumpstart_ui - context_mapping: { } - weight: 0 - additional: { } - 6404f6ef-8ed2-4937-9ff6-d314a6542b60: - uuid: 6404f6ef-8ed2-4937-9ff6-d314a6542b60 - region: main - configuration: - id: jumpstart_ui_page_heading - label: 'Heading Block' - label_display: '0' - provider: jumpstart_ui - context_mapping: { } - heading_text: Events - wrapper: h2 - hide_heading: true - weight: 1 - additional: { } - third_party_settings: { } -page: stanford_events_past -selection_criteria: { } -selection_logic: and -static_context: { } diff --git a/config/sync/user.role.site_builder.yml b/config/sync/user.role.site_builder.yml index 031df74e2..54717889c 100644 --- a/config/sync/user.role.site_builder.yml +++ b/config/sync/user.role.site_builder.yml @@ -58,7 +58,6 @@ dependencies: - menu_admin_per_menu - metatag - node - - page_manager - paragraphs - path - pathauto @@ -127,7 +126,6 @@ permissions: - 'administer node fields' - 'administer node form display' - 'administer nodes' - - 'administer pages' - 'administer paragraph display' - 'administer paragraph fields' - 'administer paragraph form display' diff --git a/config/sync/user.role.site_developer.yml b/config/sync/user.role.site_developer.yml index 2896e5191..382298a0c 100644 --- a/config/sync/user.role.site_developer.yml +++ b/config/sync/user.role.site_developer.yml @@ -66,7 +66,6 @@ dependencies: - metatag - node - node_revision_delete - - page_manager - paragraphs - path - pathauto @@ -156,7 +155,6 @@ permissions: - 'administer node_revision_delete' - 'administer node_type labels' - 'administer nodes' - - 'administer pages' - 'administer paragraph display' - 'administer paragraph fields' - 'administer paragraph form display' diff --git a/content/node/86a411a2-0b05-41bc-ae15-2184b8e81ea4.yml b/content/node/86a411a2-0b05-41bc-ae15-2184b8e81ea4.yml new file mode 100644 index 000000000..1baa1ea53 --- /dev/null +++ b/content/node/86a411a2-0b05-41bc-ae15-2184b8e81ea4.yml @@ -0,0 +1,92 @@ +_meta: + version: '1.0' + entity_type: node + uuid: 86a411a2-0b05-41bc-ae15-2184b8e81ea4 + bundle: stanford_page + default_langcode: en + depends: + 2475bc7f-528d-4e91-b546-ef2021c8f44d: user +default: + revision_uid: + - + entity: 2475bc7f-528d-4e91-b546-ef2021c8f44d + status: + - + value: true + uid: + - + entity: 2475bc7f-528d-4e91-b546-ef2021c8f44d + title: + - + value: 'Past events' + created: + - + value: 1719854848 + promote: + - + value: false + sticky: + - + value: false + path: + - + alias: /events/past + langcode: en + pathauto: 0 + su_page_components: + - + entity: + _meta: + version: '1.0' + entity_type: paragraph + uuid: c1729c68-8fa5-466c-af6e-d03b6fbc5faa + bundle: stanford_layout + default_langcode: en + default: + status: + - + value: true + created: + - + value: 1719854864 + behavior_settings: + - + value: + layout_paragraphs: + layout: layout_paragraphs_1_column + config: + label: '' + parent_uuid: null + region: null + - + entity: + _meta: + version: '1.0' + entity_type: paragraph + uuid: 15eb97ca-3a1c-47e7-86db-e188b2596f4c + bundle: stanford_lists + default_langcode: en + default: + status: + - + value: true + created: + - + value: 1719854870 + behavior_settings: + - + value: + list_paragraph: + heading_behavior: hide + layout_paragraphs: + parent_uuid: c1729c68-8fa5-466c-af6e-d03b6fbc5faa + region: main + su_list_headline: + - + value: 'Events that have occurred' + su_list_view: + - + target_id: stanford_events + display_id: past_events_list_block + arguments: '' + items_to_display: '' diff --git a/content/node/ddd5aefb-6b7a-4cd7-aa72-e8c106598bb6.yml b/content/node/ddd5aefb-6b7a-4cd7-aa72-e8c106598bb6.yml new file mode 100644 index 000000000..6e9b76bfe --- /dev/null +++ b/content/node/ddd5aefb-6b7a-4cd7-aa72-e8c106598bb6.yml @@ -0,0 +1,171 @@ +_meta: + version: '1.0' + entity_type: node + uuid: ddd5aefb-6b7a-4cd7-aa72-e8c106598bb6 + bundle: stanford_page + default_langcode: en + depends: + 2475bc7f-528d-4e91-b546-ef2021c8f44d: user +default: + revision_uid: + - + entity: 2475bc7f-528d-4e91-b546-ef2021c8f44d + status: + - + value: true + uid: + - + entity: 2475bc7f-528d-4e91-b546-ef2021c8f44d + title: + - + value: 'Event Series' + created: + - + value: 1719854990 + promote: + - + value: false + sticky: + - + value: false + revision_translation_affected: + - + value: true + path: + - + alias: /event-series + langcode: en + pathauto: 1 + layout_builder__layout: + - + section: + layout_id: jumpstart_ui_one_column + layout_settings: + extra_classes: '' + centered: null + columns: default + context_mapping: { } + components: + da20ed40-0f0f-4103-bda1-29d84c24975f: + uuid: da20ed40-0f0f-4103-bda1-29d84c24975f + region: main + configuration: + id: 'field_block:node:stanford_page:su_page_banner' + label: Banner + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: entity_reference_revisions_entity_view + label: hidden + settings: + view_mode: default + third_party_settings: { } + weight: 0 + additional: { } + third_party_settings: { } + - + section: + layout_id: jumpstart_ui_one_column + layout_settings: + extra_classes: '' + centered: centered-container + columns: default + context_mapping: { } + components: + af0809fe-fe61-4e78-be4e-4837cd773c26: + uuid: af0809fe-fe61-4e78-be4e-4837cd773c26 + region: main + configuration: + id: 'field_block:node:stanford_page:title' + label: Title + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: entity_title_heading + label: hidden + settings: + tag: h1 + third_party_settings: { } + weight: 0 + additional: { } + third_party_settings: { } + - + section: + layout_id: jumpstart_ui_two_column + layout_settings: + extra_classes: '' + centered: centered-container + orientation: right + context_mapping: { } + components: + 582a6898-7096-40c2-bb65-99a556ada919: + uuid: 582a6898-7096-40c2-bb65-99a556ada919 + region: left + configuration: + id: 'menu_block:main' + label: 'Main navigation' + label_display: '0' + provider: menu_block + context_mapping: { } + follow: false + follow_parent: child + level: 2 + depth: 0 + parent: 'main:' + suggestion: secondary_nav + expand: true + weight: 0 + additional: { } + c40ac234-fff7-4c9d-8a34-03fb9d335617: + uuid: c40ac234-fff7-4c9d-8a34-03fb9d335617 + region: main + configuration: + id: jumpstart_ui_skipnav_main_anchor + label: 'Main content anchor target' + label_display: '0' + provider: jumpstart_ui + context_mapping: { } + weight: -10 + additional: { } + 3dabcba4-136e-4433-8604-9eb0a0b74439: + uuid: 3dabcba4-136e-4433-8604-9eb0a0b74439 + region: main + configuration: + id: 'field_block:node:stanford_page:su_page_components' + label: Components + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: layout_paragraphs + label: hidden + settings: + view_mode: default + third_party_settings: + field_formatter_class: + class: '' + weight: -9 + additional: { } + c95c7600-b668-4ccf-b7de-f80938262f82: + uuid: c95c7600-b668-4ccf-b7de-f80938262f82 + region: main + configuration: + id: 'views_block:stanford_event_series-list_all' + label: '' + label_display: 0 + provider: views + views_label: '' + items_per_page: none + exposed: { } + context_mapping: { } + weight: -8 + additional: { } + third_party_settings: { } diff --git a/themes/stanford_basic/stanford_basic.theme b/themes/stanford_basic/stanford_basic.theme index 1c6b20804..4bc9d3bc6 100755 --- a/themes/stanford_basic/stanford_basic.theme +++ b/themes/stanford_basic/stanford_basic.theme @@ -337,12 +337,12 @@ function stanford_basic_preprocess_page(&$vars) { function _stanford_basic_preprocess_not_nodes(&$vars) { $pbag = \Drupal::routeMatch()->getParameters(); $pkeys = $pbag->keys(); - $blacklist = [ + $block_list = [ 'node', // Node Types. 'page_manager_page', // Panels. ]; - foreach ($blacklist as $key) { + foreach ($block_list as $key) { if (in_array($key, $pkeys)) { return; }