From b83e4b34e1ebdd333a2d2cb2e52cf3cb2b26d23c Mon Sep 17 00:00:00 2001 From: Vincent Massaro Date: Wed, 4 Oct 2023 10:16:17 -0400 Subject: [PATCH 1/2] fix: pin drupal/linkit to 6.0.0 to fix regression in https://www.drupal.org/project/linkit/issues/3354873 --- web/profiles/custom/yalesites_profile/composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/profiles/custom/yalesites_profile/composer.json b/web/profiles/custom/yalesites_profile/composer.json index e3a700b65a..0946abea77 100644 --- a/web/profiles/custom/yalesites_profile/composer.json +++ b/web/profiles/custom/yalesites_profile/composer.json @@ -49,7 +49,7 @@ "drupal/layout_builder_restrictions": "^2.17", "drupal/layout_builder_restrictions_by_role": "^1.0@alpha", "drupal/libraries": "^4.0", - "drupal/linkit": "^6.0@RC", + "drupal/linkit": "6.0.0", "drupal/mailchimp_transactional": "^1.0", "drupal/mailsystem": "^4.3", "drupal/markup": "^1.0@beta", From b61f440fdb579af8d1455b796c48e8ee680c9f7c Mon Sep 17 00:00:00 2001 From: Marc Berger <107938318+codechefmarc@users.noreply.github.com> Date: Tue, 24 Oct 2023 09:36:17 -0700 Subject: [PATCH 2/2] feat(YALB-1186): Upgrade to Drupal 10 and pin revisions in composer * feat(YALB-1186): Update CAPTCHA to 1.14 * feat(YALB-1186): Update markup to 2.0.0-beta6 * feat(YALB-1186): Update menu breadcrumb to 2.0.0-alpha0 * feat(YALB-1186): Update mailchimp transactional with override community patch for Drupal 10 support * feat(YALB-1186): WIP updating YaleSites custom modules for Drupal 10 compatibility * fix(YALB-1186): Update CSS to comply with Drupal 10 specs and refactor CSS for linting issues * feat(YALB-1210): WIP Pin versions of address, admin toolbar, allowed formats, auto entity label, and autosave form * feat(YALB-1186): Update to PHP 8.1. Update smart_date to 4.0.3 and new patch for adding PHP c format * feat(YALB-1210): Pin versions of calendar link, cas, chosen, components, and config modules * feat(YALB-1210): Update chaos tools to 4.0.4 * feat(YALB-1210): Pin versions for devel, devel_kint_extras, easy breadcumb, editoria11y, emulsify, entity redirect, fast 404, field group, formdazzle, gin, and gin layout builder * feat(YALB-1210): Pin more modules to the latest versions. All info in spreasheet in Teams * feat(YALB-1210): Pinning more versions * feat(YALB-1210): Finish pinning versions * feat(YALB-1186): Initial changes for D10 upgrade * chore(YALB-1186): Temporarily remove search api html element filter * feat(YALB-1186): Remove old patches, add laminas-escaper for bugherd * fix(YALB-1186): Fix search API HTML element filter with forked MR from Drupal.org * feat(YALB-1186): Config after upgrading to D10 * feat(YALB-1210): Pin version for laminas-escaper * feat(YALB-1186): New URL for forked search API HTML element filter repo, small CSS fix for levers form for D10 * fix(YALB-1186): Change git to vcs to see if that helps CI find the repo * fix(YALB-1186): Change mailchimp trasactional to dev version with patch * fix(YALB-1186): move logic from /composer.json into profile composer.json * chore(YALB-1186): fix root composer.json syntax * chore(YALB-1186): add repo back to root composer.json * fix(YALB-1186): Test wrapping views-basic in #drupal-off-canvas-wrapper, if this works, change all of them * fix(YALB-1186): Views basic and layout builder browser fixes for D10 * fix(YALB-1186): Fix styling issues with views basic form * feat(YALB-1186): Upgrade allowed formats which also moves config from that module into Drupal core config * feat(YALB-1186): Remove block content permissions as this is now in Drupal 10.1 * fix(YALB-1186): Fixes CSS issues with layout builder when aggregate CSS was turned on * fix(YALB-1186): patch google_analytics to install from config in D10 * chore(YALB-1186): Remove smart date patch - no longer needed * feat(YALB-1186): Update to official Search API HTML Element Filter 1.0.4 * fix(YALB-1186): remove mailchimp transcational patch because it was merged, update to 1.1.0 version * feat(YALB-1186): Update Atomic to 1.21.1 * chore: update to php 8.2 --------- Co-authored-by: Vincent Massaro Co-authored-by: Joe Tower Co-authored-by: nJim --- composer.json | 24 +- pantheon.upstream.yml | 2 +- patches/add-php-c-format.patch | 14 - .../custom/yalesites_profile/composer.json | 182 ++++--- .../config/sync/captcha.settings.yml | 7 +- ...y_view_display.media.image.banner_16_5.yml | 2 + ...view_display.media.image.card_list_3_2.yml | 2 + ...display.media.image.card_secondary_3_2.yml | 2 + ...ntity_view_display.media.image.default.yml | 2 + ...isplay.media.image.image_content_width.yml | 2 + ...y_view_display.media.image.image_float.yml | 2 + ...edia.image.profile_directory_card_1_1_.yml | 2 + ...ia.image.text_with_image_feature_equal.yml | 2 + ...ntity_view_display.media.video.default.yml | 2 + .../config/sync/core.extension.yml | 2 +- .../config/sync/editor.editor.basic_html.yml | 18 +- ....block_content.accordion.field_heading.yml | 10 +- ...ontent.content_spotlight.field_heading.yml | 10 +- ...ent.content_spotlight.field_subheading.yml | 10 +- ...k_content.content_spotlight.field_text.yml | 10 +- ...block_content.cta_banner.field_heading.yml | 10 +- ...ld.block_content.cta_banner.field_text.yml | 10 +- ...ock_content.custom_cards.field_heading.yml | 10 +- ....block_content.directory.field_heading.yml | 10 +- ...block_content.event_list.field_heading.yml | 10 +- ...ld.block_content.gallery.field_heading.yml | 10 +- ...block_content.grand_hero.field_heading.yml | 10 +- ...ld.block_content.grand_hero.field_text.yml | 10 +- ...d.field.block_content.image.field_text.yml | 10 +- ...block_content.media_grid.field_heading.yml | 10 +- ....block_content.post_list.field_heading.yml | 10 +- ...block_content.pull_quote.field_caption.yml | 10 +- ...ld.block_content.pull_quote.field_text.yml | 10 +- ...lock_content.quick_links.field_heading.yml | 10 +- ...d.block_content.quick_links.field_text.yml | 10 +- ...ld.field.block_content.text.field_text.yml | 10 +- ...ield.block_content.video.field_heading.yml | 10 +- ...d.field.block_content.video.field_text.yml | 10 +- ...field.block_content.view.field_heading.yml | 10 +- ...ld.block_content.webform.field_heading.yml | 10 +- ...ck_content.wrapped_image.field_caption.yml | 10 +- ...block_content.wrapped_image.field_text.yml | 10 +- .../field.field.node.event.field_category.yml | 2 +- ...field.field.node.event.field_event_cta.yml | 2 +- .../field.field.node.event.field_tags.yml | 2 +- ...eld.field.node.event.field_teaser_text.yml | 10 +- .../sync/field.field.node.page.field_tags.yml | 2 +- ...ield.field.node.page.field_teaser_text.yml | 10 +- .../field.field.node.post.field_category.yml | 2 +- .../sync/field.field.node.post.field_tags.yml | 2 +- ...ield.field.node.post.field_teaser_text.yml | 10 +- ...field.field.node.profile.field_address.yml | 10 +- ...ield.field.node.profile.field_subtitle.yml | 10 +- ...d.field.node.profile.field_teaser_text.yml | 10 +- ...paragraph.accordion_item.field_heading.yml | 10 +- ...d.paragraph.callout_item.field_heading.yml | 10 +- ...ield.paragraph.callout_item.field_text.yml | 10 +- ...ld.paragraph.custom_card.field_heading.yml | 10 +- ...field.paragraph.custom_card.field_text.yml | 10 +- ...d.paragraph.gallery_item.field_heading.yml | 10 +- ...ield.paragraph.gallery_item.field_text.yml | 10 +- ...ield.field.paragraph.tab.field_heading.yml | 10 +- .../field.field.paragraph.text.field_text.yml | 10 +- .../config/sync/filter.format.basic_html.yml | 14 +- .../config/sync/node.type.event.yml | 11 +- .../config/sync/node.type.page.yml | 11 +- .../config/sync/node.type.post.yml | 11 +- .../config/sync/node.type.profile.yml | 11 +- .../sync/node_revision_delete.settings.yml | 11 - .../sync/search_api.index.node_index.yml | 5 +- .../config/sync/search_api.settings.yml | 16 +- .../config/sync/system.feature_flags.yml | 1 + .../config/sync/user.role.authenticated.yml | 2 + .../config/sync/user.role.platform_admin.yml | 72 +-- .../config/sync/user.role.site_admin.yml | 68 +-- .../config/sync/views.view.block_content.yml | 22 +- .../config/sync/views.view.content.yml | 9 + .../config/sync/views.view.export_media.yml | 9 + .../sync/views.view.export_taxonomy.yml | 9 + .../config/sync/views.view.files.yml | 18 + .../config/sync/views.view.glossary.yml | 9 + .../config/sync/views.view.manage_events.yml | 9 + .../config/sync/views.view.manage_pages.yml | 9 + .../config/sync/views.view.manage_posts.yml | 9 + .../sync/views.view.manage_profiles.yml | 9 + .../config/sync/views.view.media.yml | 9 + .../config/sync/views.view.media_library.yml | 9 + .../sync/views.view.section_library.yml | 18 + .../sync/views.view.webform_submissions.yml | 63 +++ .../config/sync/ys_alert.settings.yml | 4 +- .../ys_layouts/src/UpdateExistingNodes.php | 16 +- .../modules/custom/ys_themes/css/levers.css | 13 + .../ys_views_basic/assets/css/views-basic.css | 492 ++++++++++++------ .../FieldWidget/ViewsBasicDefaultWidget.php | 1 + web/sites/default/services.yml | 0 95 files changed, 939 insertions(+), 720 deletions(-) delete mode 100644 patches/add-php-c-format.patch delete mode 100644 web/profiles/custom/yalesites_profile/config/sync/node_revision_delete.settings.yml create mode 100644 web/profiles/custom/yalesites_profile/config/sync/system.feature_flags.yml mode change 100755 => 100644 web/sites/default/services.yml diff --git a/composer.json b/composer.json index 86f02c389d..635bbee003 100644 --- a/composer.json +++ b/composer.json @@ -7,10 +7,6 @@ "type": "path", "url": "web/profiles/custom/yalesites_profile" }, - "drupal/search_api_html_element_filter": { - "type": "git", - "url": "https://git.drupalcode.org/issue/search_api_html_element_filter-3390283.git" - }, "drupal": { "type": "composer", "url": "https://packages.drupal.org/8" @@ -19,20 +15,20 @@ "require": { "composer/installers": "^1.9", "cweagans/composer-patches": "^1.7", - "drupal/core-composer-scaffold": "^9.2", - "drupal/core-recommended": "^9.2", + "drupal/core-composer-scaffold": "^10", + "drupal/core-project-message": "^10", + "drupal/core-recommended": "^10", "drush/drush": "^11 || ^12", "oomphinc/composer-installers-extender": "^2.0", - "pantheon-systems/drupal-integrations": "^9", + "pantheon-systems/drupal-integrations": "^10", "yalesites-org/yalesites_profile": "*" }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^0.7.2", "drupal/coder": "^8.3", - "drupal/console": "~1.0", - "drupal/core-dev": "^9.2", + "drupal/core-dev": "^10", "drupal/drupal-driver": "^2.1", - "drupal/drupal-extension": "^4.1", + "drupal/drupal-extension": "^5.0", "mikey179/vfsstream": "^1.6", "phpspec/prophecy-phpunit": "^2", "phpunit/phpunit": "^9.5", @@ -108,15 +104,17 @@ "preferred-install": "dist", "sort-packages": true, "platform": { - "php": "7.4" + "php": "8.2" }, "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true, "composer/installers": true, "cweagans/composer-patches": true, "drupal/core-composer-scaffold": true, - "drupal/console-extend-plugin": true, - "oomphinc/composer-installers-extender": true + "oomphinc/composer-installers-extender": true, + "drupal/core-project-message": true, + "phpstan/extension-installer": true, + "drupal/console-extend-plugin": true } }, "scripts": { diff --git a/pantheon.upstream.yml b/pantheon.upstream.yml index 94542a7eae..1e8b404027 100644 --- a/pantheon.upstream.yml +++ b/pantheon.upstream.yml @@ -1,5 +1,5 @@ api_version: 1 -php_version: 8.1 +php_version: 8.2 database: version: 10.4 drush_version: 10 diff --git a/patches/add-php-c-format.patch b/patches/add-php-c-format.patch deleted file mode 100644 index f11d5616df..0000000000 --- a/patches/add-php-c-format.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/src/SmartDateTrait.php b/src/SmartDateTrait.php -index 27ffff1..31afa2b 100644 ---- a/src/SmartDateTrait.php -+++ b/src/SmartDateTrait.php -@@ -536,7 +536,7 @@ trait SmartDateTrait { - if ($year_pos !== FALSE) { - $valid_tokens = []; - // Check for workable day or month tokens. -- preg_match_all('/[djDNlwzSFmMn]/', $settings['date_format'], $valid_tokens, PREG_OFFSET_CAPTURE); -+ preg_match_all('/[djDNlwzSFmMnc]/', $settings['date_format'], $valid_tokens, PREG_OFFSET_CAPTURE); - if ($valid_tokens) { - if ($year_pos == 0) { - // Year is at the beginning, so change the end to start at the - diff --git a/web/profiles/custom/yalesites_profile/composer.json b/web/profiles/custom/yalesites_profile/composer.json index 0946abea77..9978926aaf 100644 --- a/web/profiles/custom/yalesites_profile/composer.json +++ b/web/profiles/custom/yalesites_profile/composer.json @@ -1,97 +1,97 @@ { "name": "yalesites-org/yalesites_profile", "type": "drupal-custom-profile", - "repositories": [ - { + "repositories": { + "drupal": { "type": "composer", "url": "https://packages.drupal.org/8" } - ], + }, "require": { - "drupal/address": "^1.10", - "drupal/admin_toolbar": "3.3.0", - "drupal/allowed_formats": "^2.0", - "drupal/auto_entitylabel": "^3.0", - "drupal/autosave_form": "^1.3", - "drupal/better_exposed_filters": "^6.0", - "drupal/block_content_permissions": "^1.11", + "drupal/address": "1.12", + "drupal/admin_toolbar": "3.4.1", + "drupal/allowed_formats": "3.0", + "drupal/auto_entitylabel": "3.0", + "drupal/autosave_form": "1.4", + "drupal/better_exposed_filters": "6.0.3", "drupal/bugherd": "1.0", - "drupal/calendar_link": "^3.0", - "drupal/captcha": "1.10.0", - "drupal/cas": "^2.0", - "drupal/chosen": "^4.0", - "drupal/components": "^3.0", - "drupal/config_filter": "^2.4", - "drupal/config_ignore": "^3.0", - "drupal/config_split": "^2.0@RC", - "drupal/ctools": "^3.7", - "drupal/devel": "^5.1", - "drupal/devel_kint_extras": "^1.0", - "drupal/easy_breadcrumb": "^2.0", - "drupal/editoria11y": "^2.0", - "drupal/emulsify_twig": "^4.0", - "drupal/entity_redirect": "^2.2", - "drupal/fast_404": "^2.0@alpha", - "drupal/field_group": "^3.2", - "drupal/formdazzle": "^3.0", - "drupal/gin": "^3.0@beta", - "drupal/gin_lb": "^1.0@RC", - "drupal/google_analytics": "^4.0", - "drupal/hide_revision_field": "^2.2", - "drupal/honeypot": "^2.1", - "drupal/image_widget_crop": "^2.3", - "drupal/imagemagick": "^3.4", - "drupal/improve_line_breaks_filter": "^1.3", - "drupal/inline_entity_form": "^1.0@RC", - "drupal/layout_builder_browser": "^1.4", - "drupal/layout_builder_iframe_modal": "^1.3", - "drupal/layout_builder_lock": "^1.2", - "drupal/layout_builder_restrictions": "^2.17", - "drupal/layout_builder_restrictions_by_role": "^1.0@alpha", - "drupal/libraries": "^4.0", - "drupal/linkit": "6.0.0", - "drupal/mailchimp_transactional": "^1.0", - "drupal/mailsystem": "^4.3", - "drupal/markup": "^1.0@beta", - "drupal/maxlength": "^2.0@RC", - "drupal/media_library_edit": "^3.0", - "drupal/media_library_form_element": "^2.0", - "drupal/menu_admin_per_menu": "^1.4", - "drupal/menu_breadcrumb": "^1.16", - "drupal/menu_item_extras": "^3.0", - "drupal/metatag": "^1.19", - "drupal/migrate_plus": "^6.0", - "drupal/migrate_tools": "^6.0", - "drupal/multivalue_form_element": "^1.0@beta", - "drupal/node_revision_delete": "^1.0@RC", - "drupal/override_node_options": "^2.6", - "drupal/pantheon_advanced_page_cache": "^2.1", + "drupal/calendar_link": "3.0.2", + "drupal/captcha": "1.14", + "drupal/cas": "2.2.0", + "drupal/chosen": "4.0.0", + "drupal/components": "3.0.0-beta3", + "drupal/config_filter": "2.4", + "drupal/config_ignore": "3.0-beta2", + "drupal/config_split": "2.0.0-rc4", + "drupal/ctools": "4.0.4", + "drupal/devel": "5.1.2", + "drupal/devel_kint_extras": "1.1.0", + "drupal/easy_breadcrumb": "2.0.5", + "drupal/editoria11y": "2.0.14", + "drupal/emulsify_twig": "4.0.0", + "drupal/entity_redirect": "2.2", + "drupal/fast_404": "3.2", + "drupal/field_group": "3.4", + "drupal/formdazzle": "3.0.0", + "drupal/gin": "3.0-rc6", + "drupal/gin_lb": "1.0.x-dev@dev", + "drupal/google_analytics": "4.0.2", + "drupal/hide_revision_field": "2.3", + "drupal/honeypot": "2.1.3", + "drupal/image_widget_crop": "2.4", + "drupal/imagemagick": "3.4", + "drupal/improve_line_breaks_filter": "1.5", + "drupal/inline_entity_form": "2.0.0-rc9", + "drupal/layout_builder_browser": "1.x-dev@dev", + "drupal/layout_builder_iframe_modal": "1.3", + "drupal/layout_builder_lock": "1.2", + "drupal/layout_builder_restrictions": "2.19", + "drupal/layout_builder_restrictions_by_role": "1.0-alpha5", + "drupal/libraries": "4.0.4", + "drupal/linkit": "6.1.0", + "drupal/mailchimp_transactional": "1.1.0", + "drupal/mailsystem": "4.4", + "drupal/markup": "2.0.0-beta6", + "drupal/maxlength": "2.1.2", + "drupal/media_library_edit": "3.0.2", + "drupal/media_library_form_element": "2.0.6", + "drupal/menu_admin_per_menu": "1.5", + "drupal/menu_breadcrumb": "2.0.0-alpha0", + "drupal/menu_item_extras": "3.0.2", + "drupal/metatag": "2.0.0", + "drupal/migrate_plus": "6.0.1", + "drupal/migrate_tools": "6.0.2", + "drupal/multivalue_form_element": "1.0-beta6", + "drupal/node_revision_delete": "2.0.0-alpha2", + "drupal/override_node_options": "2.7", + "drupal/pantheon_advanced_page_cache": "2.1.2", "drupal/pantheon_secrets": "1.0.1", - "drupal/paragraphs": "^1.12", - "drupal/paragraphs_features": "^2.0@beta", - "drupal/pathauto": "^1.8", - "drupal/publishcontent": "^1.5", - "drupal/quick_node_clone": "^1.15", - "drupal/recaptcha": "^3.1", - "drupal/recaptcha_v3": "^1.7", - "drupal/redirect": "^1.7", - "drupal/role_delegation": "^1.2", - "drupal/search_api": "^1.25", - "drupal/search_api_exclude": "^2.0", - "drupal/search_api_html_element_filter": "dev-3390283-drupal-10-symfony", - "drupal/section_library": "^1.1", - "drupal/selective_better_exposed_filters": "^3.0@beta", - "drupal/simple_sitemap": "^4.1", - "drupal/single_content_sync": "^1.4", - "drupal/smart_date": "^3.5", - "drupal/twig_tweak": "^3.1", - "drupal/typogrify": "^1.2", - "drupal/upgrade_status": "^3.18", - "drupal/webform": "^6.2@beta", - "drupal/wingsuit_companion": "^2.0@RC", - "jjj/chosen": "^2.2", + "drupal/paragraphs": "1.16", + "drupal/paragraphs_features": "2.0-beta3", + "drupal/pathauto": "1.11", + "drupal/publishcontent": "1.6", + "drupal/quick_node_clone": "1.16", + "drupal/recaptcha": "3.2", + "drupal/recaptcha_v3": "1.9", + "drupal/redirect": "1.9", + "drupal/role_delegation": "1.2", + "drupal/search_api": "1.29", + "drupal/search_api_exclude": "2.0.2", + "drupal/search_api_html_element_filter": "1.0.4", + "drupal/section_library": "1.1.1", + "drupal/selective_better_exposed_filters": "3.0.0-beta1", + "drupal/simple_sitemap": "4.1.6", + "drupal/single_content_sync": "1.4.1", + "drupal/smart_date": "4.0.3", + "drupal/twig_tweak": "3.2.1", + "drupal/typogrify": "1.2", + "drupal/upgrade_status": "4.0.0", + "drupal/webform": "6.2.0-beta6", + "drupal/wingsuit_companion": "2.1", + "jjj/chosen": "2.2.1", + "laminas/laminas-escaper": "2.12", "yalesites-org/atomic": "1.21.1", - "yalesites-org/yale_cas": "^1.0" + "yalesites-org/yale_cas": "1.0.4" }, "minimum-stability": "dev", "prefer-stable": true, @@ -112,10 +112,7 @@ "hide remove button": "https://www.drupal.org/files/issues/2020-05-13/hide_field_required_paragraphs_remove_button_1.patch" }, "drupal/core": { - "plural results summary https://www.drupal.org/project/drupal/issues/2888320": "https://www.drupal.org/files/issues/2021-12-15/2888320-78.patch", - "Prevent media library item overflow https://www.drupal.org/project/drupal/issues/3059955": "https://www.drupal.org/files/issues/2023-03-18/3059955-167.patch", - "Remove for Drupal 10 - CKEditor 5 should not grow to infinite height https://www.drupal.org/project/drupal/issues/3273755": "https://www.drupal.org/files/issues/2023-07-26/ckeditor-height-fix.patch", - "Fix ZipArchive deprecation: https://www.drupal.org/project/single_content_sync/issues/3364535": "https://www.drupal.org/files/issues/2022-08-22/2850794-51.patch" + "plural results summary https://www.drupal.org/project/drupal/issues/2888320": "https://www.drupal.org/files/issues/2021-12-15/2888320-78.patch" }, "drupal/entity_redirect": { "fix layout route https://www.drupal.org/project/entity_redirect/issues/3352265": "https://git.drupalcode.org/project/entity_redirect/-/merge_requests/6.patch" @@ -123,15 +120,9 @@ "drupal/layout_builder_restrictions_by_role": { "Fix user 1 https://www.drupal.org/project/layout_builder_restrictions_by_role/issues/3298638": "https://www.drupal.org/files/issues/2022-07-28/3298638--layout_builder_restrictions_by_role--user-1-exception-8.patch" }, - "drupal/layout_builder_browser": { - "close modal on submit https://www.drupal.org/project/layout_builder_browser/issues/3352754": "https://www.drupal.org/files/issues/2023-04-19/layout_builder_browser-modal_does_not_close_on_submit-3352754-2.patch" - }, "drupal/bugherd": { "anonymous user unable to fill in email field https://www.drupal.org/project/bugherd/issues/3364305": "https://git.drupalcode.org/project/bugherd/-/merge_requests/4.diff" }, - "drupal/smart_date": { - "add PHP c date format": "patches/add-php-c-format.patch" - }, "drupal/gin": { "fix description toggle for CKEditor fields https://www.drupal.org/project/gin/issues/3316265": "https://git.drupalcode.org/project/gin/-/merge_requests/227.patch", "update dark mode localstorage https://www.drupal.org/project/gin/issues/3387653": "https://git.drupalcode.org/project/gin/-/merge_requests/304.diff" @@ -141,6 +132,9 @@ }, "drupal/redirect": { "fix validation issue on adding url redirect": "https://www.drupal.org/files/issues/2023-08-09/3057250-65.patch" + }, + "drupal/google_analytics": { + "Cannot install from existing config https://www.drupal.org/project/google_analytics/issues/3373921": "https://www.drupal.org/files/issues/2023-08-07/google-analytics-issues-3373921-cannot-install-from-existing-config-11.patch" } } } diff --git a/web/profiles/custom/yalesites_profile/config/sync/captcha.settings.yml b/web/profiles/custom/yalesites_profile/config/sync/captcha.settings.yml index 1a9aa1b1f0..571a999c80 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/captcha.settings.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/captcha.settings.yml @@ -1,14 +1,15 @@ _core: default_config_hash: hSAUW7BoAd9YUpKcVKyZpW4wY67g4XZAYlt3Vnz6SVA -enabled_default: 0 +enable_globally: 0 +enable_globally_on_admin_routes: false default_challenge: recaptcha_v3/form_submission description: 'This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.' administration_mode: false -allow_on_admin_pages: false +administration_mode_on_admin_routes: false whitelist_ips: '' -add_captcha_description: true wrong_captcha_response_message: 'The answer you entered for the CAPTCHA was not correct.' default_validation: 1 persistence: 1 enable_stats: false log_wrong_responses: false +title: CAPTCHA diff --git a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.banner_16_5.yml b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.banner_16_5.yml index 114c6e3d8f..8434aa28a7 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.banner_16_5.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.banner_16_5.yml @@ -20,6 +20,8 @@ content: settings: responsive_image_style: banner_16_5_ image_link: '' + image_loading: + attribute: eager third_party_settings: { } weight: 0 region: content diff --git a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.card_list_3_2.yml b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.card_list_3_2.yml index 135d2b69b5..edc31b8363 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.card_list_3_2.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.card_list_3_2.yml @@ -20,6 +20,8 @@ content: settings: responsive_image_style: card_list_3_2 image_link: '' + image_loading: + attribute: eager third_party_settings: { } weight: 0 region: content diff --git a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.card_secondary_3_2.yml b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.card_secondary_3_2.yml index 74070c6327..114fc2a39c 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.card_secondary_3_2.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.card_secondary_3_2.yml @@ -20,6 +20,8 @@ content: settings: responsive_image_style: card_secondary_3_2 image_link: '' + image_loading: + attribute: eager third_party_settings: { } weight: 0 region: content diff --git a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.default.yml b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.default.yml index 817b5cc9a9..5d03aa4277 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.default.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.default.yml @@ -19,6 +19,8 @@ content: settings: responsive_image_style: image_max_width image_link: '' + image_loading: + attribute: eager third_party_settings: { } weight: 0 region: content diff --git a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.image_content_width.yml b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.image_content_width.yml index 9b80314e46..54f41dd98f 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.image_content_width.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.image_content_width.yml @@ -20,6 +20,8 @@ content: settings: responsive_image_style: image_content_width image_link: '' + image_loading: + attribute: eager third_party_settings: { } weight: 0 region: content diff --git a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.image_float.yml b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.image_float.yml index c9e81c21be..11a3c10541 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.image_float.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.image_float.yml @@ -20,6 +20,8 @@ content: settings: responsive_image_style: image_float image_link: '' + image_loading: + attribute: eager third_party_settings: { } weight: 0 region: content diff --git a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.profile_directory_card_1_1_.yml b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.profile_directory_card_1_1_.yml index f9b44bd27b..37518b88c3 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.profile_directory_card_1_1_.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.profile_directory_card_1_1_.yml @@ -25,6 +25,8 @@ content: settings: responsive_image_style: profile_1_1_ image_link: '' + image_loading: + attribute: eager third_party_settings: { } weight: 0 region: content diff --git a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.text_with_image_feature_equal.yml b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.text_with_image_feature_equal.yml index 2a52eba3d1..b67ad9261c 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.text_with_image_feature_equal.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.image.text_with_image_feature_equal.yml @@ -20,6 +20,8 @@ content: settings: responsive_image_style: text_with_image_feature_equal image_link: '' + image_loading: + attribute: eager third_party_settings: { } weight: 0 region: content diff --git a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.video.default.yml b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.video.default.yml index 724680305b..75216a932e 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.video.default.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/core.entity_view_display.media.video.default.yml @@ -18,6 +18,8 @@ content: settings: max_width: 0 max_height: 0 + loading: + attribute: eager third_party_settings: { } weight: 0 region: content diff --git a/web/profiles/custom/yalesites_profile/config/sync/core.extension.yml b/web/profiles/custom/yalesites_profile/config/sync/core.extension.yml index 27b3e96f22..8f51697110 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/core.extension.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/core.extension.yml @@ -10,7 +10,6 @@ module: better_exposed_filters: 0 block: 0 block_content: 0 - block_content_permissions: 0 breakpoint: 0 calendar_link: 0 captcha: 0 @@ -96,6 +95,7 @@ module: paragraphs_features: 0 path: 0 path_alias: 0 + phpass: 0 publishcontent: 0 quick_node_clone: 0 recaptcha: 0 diff --git a/web/profiles/custom/yalesites_profile/config/sync/editor.editor.basic_html.yml b/web/profiles/custom/yalesites_profile/config/sync/editor.editor.basic_html.yml index d8c02d6578..aee2a7f42e 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/editor.editor.basic_html.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/editor.editor.basic_html.yml @@ -27,6 +27,12 @@ settings: - '|' - sourceEditing plugins: + ckeditor5_alignment: + enabled_alignments: + - left + - center + - right + - justify ckeditor5_heading: enabled_headings: - heading2 @@ -34,6 +40,9 @@ settings: - heading4 - heading5 - heading6 + ckeditor5_list: + reversed: false + startIndex: true ckeditor5_sourceEditing: allowed_tags: - '' @@ -50,15 +59,6 @@ settings: - '
' - '
' - '' - ckeditor5_list: - reversed: false - startIndex: true - ckeditor5_alignment: - enabled_alignments: - - left - - center - - right - - justify linkit_extension: linkit_enabled: true linkit_profile: default diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.accordion.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.accordion.field_heading.yml index e9b38815a8..5205e2777e 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.accordion.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.accordion.field_heading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.accordion - field.storage.block_content.field_heading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.accordion.field_heading field_name: field_heading entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.content_spotlight.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.content_spotlight.field_heading.yml index a9b405641e..ce99ef577d 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.content_spotlight.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.content_spotlight.field_heading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.content_spotlight - field.storage.block_content.field_heading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.content_spotlight.field_heading field_name: field_heading entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.content_spotlight.field_subheading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.content_spotlight.field_subheading.yml index 28fb36a990..66ebc64344 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.content_spotlight.field_subheading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.content_spotlight.field_subheading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.content_spotlight - field.storage.block_content.field_subheading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.content_spotlight.field_subheading field_name: field_subheading entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: false default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.content_spotlight.field_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.content_spotlight.field_text.yml index d94f776235..4593457730 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.content_spotlight.field_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.content_spotlight.field_text.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.content_spotlight - field.storage.block_content.field_text + - filter.format.restricted_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - restricted_html id: block_content.content_spotlight.field_text field_name: field_text entity_type: block_content @@ -22,5 +18,7 @@ required: true translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - restricted_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.cta_banner.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.cta_banner.field_heading.yml index a58d2a780b..a3c73252a0 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.cta_banner.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.cta_banner.field_heading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.cta_banner - field.storage.block_content.field_heading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.cta_banner.field_heading field_name: field_heading entity_type: block_content @@ -22,5 +18,7 @@ required: true translatable: false default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.cta_banner.field_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.cta_banner.field_text.yml index 826107d4bb..cbadbe81ff 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.cta_banner.field_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.cta_banner.field_text.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.cta_banner - field.storage.block_content.field_text + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.cta_banner.field_text field_name: field_text entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: false default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.custom_cards.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.custom_cards.field_heading.yml index 20d4c45c7e..f84f408a37 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.custom_cards.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.custom_cards.field_heading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.custom_cards - field.storage.block_content.field_heading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.custom_cards.field_heading field_name: field_heading entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.directory.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.directory.field_heading.yml index 419550398c..193a2b23a5 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.directory.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.directory.field_heading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.directory - field.storage.block_content.field_heading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.directory.field_heading field_name: field_heading entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.event_list.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.event_list.field_heading.yml index 0c83597488..f4ff040ee5 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.event_list.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.event_list.field_heading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.event_list - field.storage.block_content.field_heading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.event_list.field_heading field_name: field_heading entity_type: block_content @@ -22,5 +18,7 @@ required: true translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.gallery.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.gallery.field_heading.yml index 0951b3b8ad..c70258387a 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.gallery.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.gallery.field_heading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.gallery - field.storage.block_content.field_heading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.gallery.field_heading field_name: field_heading entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.grand_hero.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.grand_hero.field_heading.yml index 33daf2c747..6783bc8d47 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.grand_hero.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.grand_hero.field_heading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.grand_hero - field.storage.block_content.field_heading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.grand_hero.field_heading field_name: field_heading entity_type: block_content @@ -22,5 +18,7 @@ required: true translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.grand_hero.field_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.grand_hero.field_text.yml index 5668dfda73..740aafe088 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.grand_hero.field_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.grand_hero.field_text.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.grand_hero - field.storage.block_content.field_text + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.grand_hero.field_text field_name: field_text entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.image.field_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.image.field_text.yml index 9b771eb292..e468ea693c 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.image.field_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.image.field_text.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.image - field.storage.block_content.field_text + - filter.format.restricted_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - restricted_html id: block_content.image.field_text field_name: field_text entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - restricted_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.media_grid.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.media_grid.field_heading.yml index f320516cd2..01a2a9a3e6 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.media_grid.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.media_grid.field_heading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.media_grid - field.storage.block_content.field_heading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.media_grid.field_heading field_name: field_heading entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.post_list.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.post_list.field_heading.yml index f13b6fde7f..42e8a70046 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.post_list.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.post_list.field_heading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.post_list - field.storage.block_content.field_heading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.post_list.field_heading field_name: field_heading entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.pull_quote.field_caption.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.pull_quote.field_caption.yml index 5e8af1c7d1..5467b74b35 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.pull_quote.field_caption.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.pull_quote.field_caption.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.pull_quote - field.storage.block_content.field_caption + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.pull_quote.field_caption field_name: field_caption entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.pull_quote.field_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.pull_quote.field_text.yml index 1787ee5779..29565b2605 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.pull_quote.field_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.pull_quote.field_text.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.pull_quote - field.storage.block_content.field_text + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.pull_quote.field_text field_name: field_text entity_type: block_content @@ -22,5 +18,7 @@ required: true translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.quick_links.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.quick_links.field_heading.yml index 0322cee8f9..09049e153a 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.quick_links.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.quick_links.field_heading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.quick_links - field.storage.block_content.field_heading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.quick_links.field_heading field_name: field_heading entity_type: block_content @@ -22,5 +18,7 @@ required: true translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.quick_links.field_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.quick_links.field_text.yml index eb960428ac..e8357c9f92 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.quick_links.field_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.quick_links.field_text.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.quick_links - field.storage.block_content.field_text + - filter.format.restricted_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - restricted_html id: block_content.quick_links.field_text field_name: field_text entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - restricted_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.text.field_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.text.field_text.yml index 2581f6da33..e62ac5b3fe 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.text.field_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.text.field_text.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.text - field.storage.block_content.field_text + - filter.format.basic_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - basic_html id: block_content.text.field_text field_name: field_text entity_type: block_content @@ -22,5 +18,7 @@ required: true translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - basic_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.video.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.video.field_heading.yml index b8572062e8..c144185182 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.video.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.video.field_heading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.video - field.storage.block_content.field_heading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.video.field_heading field_name: field_heading entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.video.field_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.video.field_text.yml index 2fbe6b4b28..f8890c8f9d 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.video.field_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.video.field_text.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.video - field.storage.block_content.field_text + - filter.format.restricted_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - restricted_html id: block_content.video.field_text field_name: field_text entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - restricted_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.view.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.view.field_heading.yml index 0c034b85b9..8ee8797b56 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.view.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.view.field_heading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.view - field.storage.block_content.field_heading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.view.field_heading field_name: field_heading entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.webform.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.webform.field_heading.yml index 941bdf6041..71f4031516 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.webform.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.webform.field_heading.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.webform - field.storage.block_content.field_heading + - filter.format.heading_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: block_content.webform.field_heading field_name: field_heading entity_type: block_content @@ -22,5 +18,7 @@ required: true translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.wrapped_image.field_caption.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.wrapped_image.field_caption.yml index 24bc7fe639..b6325c52ea 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.wrapped_image.field_caption.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.wrapped_image.field_caption.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.wrapped_image - field.storage.block_content.field_caption + - filter.format.restricted_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - restricted_html id: block_content.wrapped_image.field_caption field_name: field_caption entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: false default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - restricted_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.wrapped_image.field_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.wrapped_image.field_text.yml index ee2d1ef6f1..bf35ac7827 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.wrapped_image.field_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.block_content.wrapped_image.field_text.yml @@ -5,13 +5,9 @@ dependencies: config: - block_content.type.wrapped_image - field.storage.block_content.field_text + - filter.format.basic_html module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - basic_html id: block_content.wrapped_image.field_text field_name: field_text entity_type: block_content @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - basic_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_category.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_category.yml index 9c3d3595f6..d0e9ac5fd3 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_category.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_category.yml @@ -11,7 +11,7 @@ field_name: field_category entity_type: node bundle: event label: Category -description: 'Categories will autocomplete as you type. Choose from pre-created options only. To add a new category, go to ''Content->Manage Taxonomy->Event Categories''.' +description: "Categories will autocomplete as you type. Choose from pre-created options only. To add a new category, go to 'Content->Manage Taxonomy->Event Categories'." required: false translatable: false default_value: { } diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_event_cta.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_event_cta.yml index 377bd22a6f..7809ef57a4 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_event_cta.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_event_cta.yml @@ -12,7 +12,7 @@ field_name: field_event_cta entity_type: node bundle: event label: 'Call to Action' -description: 'Add an optional link to the top of event pages. For example, ''Register'', ''RSVP'', or ''Volunteer'' links that take visitors to external events management systems.' +description: "Add an optional link to the top of event pages. For example, 'Register', 'RSVP', or 'Volunteer' links that take visitors to external events management systems." required: false translatable: false default_value: { } diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_tags.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_tags.yml index 853caf6678..d5c3deab6b 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_tags.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_tags.yml @@ -11,7 +11,7 @@ field_name: field_tags entity_type: node bundle: event label: Tags -description: 'Tags will autocomplete as you type. Choose from pre-created options only. To add a new tag, go to ''Content->Manage Taxonomy->Tags''.' +description: "Tags will autocomplete as you type. Choose from pre-created options only. To add a new tag, go to 'Content->Manage Taxonomy->Tags'." required: false translatable: true default_value: { } diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_teaser_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_teaser_text.yml index 387ad8deb5..e978f88d88 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_teaser_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.event.field_teaser_text.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.node.field_teaser_text + - filter.format.heading_html - node.type.event module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: node.event.field_teaser_text field_name: field_teaser_text entity_type: node @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.page.field_tags.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.page.field_tags.yml index 6cb5ffe861..095fd51e67 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.page.field_tags.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.page.field_tags.yml @@ -11,7 +11,7 @@ field_name: field_tags entity_type: node bundle: page label: Tags -description: 'Tags will autocomplete as you type. Choose from pre-created options only. To add a new tag, go to ''Content->Manage Taxonomy->Tags''.' +description: "Tags will autocomplete as you type. Choose from pre-created options only. To add a new tag, go to 'Content->Manage Taxonomy->Tags'." required: false translatable: false default_value: { } diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.page.field_teaser_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.page.field_teaser_text.yml index f79a53f1f3..7b6c485b8e 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.page.field_teaser_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.page.field_teaser_text.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.node.field_teaser_text + - filter.format.heading_html - node.type.page module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: node.page.field_teaser_text field_name: field_teaser_text entity_type: node @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.post.field_category.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.post.field_category.yml index 48cb3d94de..4d424ec71a 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.post.field_category.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.post.field_category.yml @@ -11,7 +11,7 @@ field_name: field_category entity_type: node bundle: post label: Category -description: 'Categories will autocomplete as you type. Choose from pre-created options only. To add a new category, go to ''Content->Manage Taxonomy->Post Categories''.' +description: "Categories will autocomplete as you type. Choose from pre-created options only. To add a new category, go to 'Content->Manage Taxonomy->Post Categories'." required: false translatable: true default_value: { } diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.post.field_tags.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.post.field_tags.yml index 4265db9d2d..72b05c8933 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.post.field_tags.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.post.field_tags.yml @@ -11,7 +11,7 @@ field_name: field_tags entity_type: node bundle: post label: Tags -description: 'Tags will autocomplete as you type. Choose from pre-created options only. To add a new tag, go to ''Content->Manage Taxonomy->Tags''.' +description: "Tags will autocomplete as you type. Choose from pre-created options only. To add a new tag, go to 'Content->Manage Taxonomy->Tags'." required: false translatable: true default_value: { } diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.post.field_teaser_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.post.field_teaser_text.yml index e3e65c6568..8453f8c9cc 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.post.field_teaser_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.post.field_teaser_text.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.node.field_teaser_text + - filter.format.heading_html - node.type.post module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: node.post.field_teaser_text field_name: field_teaser_text entity_type: node @@ -22,5 +18,7 @@ required: false translatable: false default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.profile.field_address.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.profile.field_address.yml index 16f842ca04..ed0e8ac9c8 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.profile.field_address.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.profile.field_address.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.node.field_address + - filter.format.heading_html - node.type.profile module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: node.profile.field_address field_name: field_address entity_type: node @@ -22,5 +18,7 @@ required: false translatable: false default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.profile.field_subtitle.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.profile.field_subtitle.yml index 21388cd29a..6b86fab16d 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.profile.field_subtitle.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.profile.field_subtitle.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.node.field_subtitle + - filter.format.heading_html - node.type.profile module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: node.profile.field_subtitle field_name: field_subtitle entity_type: node @@ -22,5 +18,7 @@ required: false translatable: false default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.profile.field_teaser_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.profile.field_teaser_text.yml index 317929291d..a849b7fc47 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.node.profile.field_teaser_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.node.profile.field_teaser_text.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.node.field_teaser_text + - filter.format.heading_html - node.type.profile module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: node.profile.field_teaser_text field_name: field_teaser_text entity_type: node @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.accordion_item.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.accordion_item.field_heading.yml index 14c593667b..1779914b3b 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.accordion_item.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.accordion_item.field_heading.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.paragraph.field_heading + - filter.format.heading_html - paragraphs.paragraphs_type.accordion_item module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: paragraph.accordion_item.field_heading field_name: field_heading entity_type: paragraph @@ -22,5 +18,7 @@ required: true translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.callout_item.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.callout_item.field_heading.yml index 464a87760d..36e5f6210a 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.callout_item.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.callout_item.field_heading.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.paragraph.field_heading + - filter.format.heading_html - paragraphs.paragraphs_type.callout_item module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: paragraph.callout_item.field_heading field_name: field_heading entity_type: paragraph @@ -22,5 +18,7 @@ required: true translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.callout_item.field_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.callout_item.field_text.yml index 21c81e7623..9c23ba4907 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.callout_item.field_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.callout_item.field_text.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.paragraph.field_text + - filter.format.heading_html - paragraphs.paragraphs_type.callout_item module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: paragraph.callout_item.field_text field_name: field_text entity_type: paragraph @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.custom_card.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.custom_card.field_heading.yml index b2fc30bf7c..60c8c78c2f 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.custom_card.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.custom_card.field_heading.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.paragraph.field_heading + - filter.format.heading_html - paragraphs.paragraphs_type.custom_card module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: paragraph.custom_card.field_heading field_name: field_heading entity_type: paragraph @@ -22,5 +18,7 @@ required: true translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.custom_card.field_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.custom_card.field_text.yml index 753ecdc678..75e613acaf 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.custom_card.field_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.custom_card.field_text.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.paragraph.field_text + - filter.format.heading_html - paragraphs.paragraphs_type.custom_card module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: paragraph.custom_card.field_text field_name: field_text entity_type: paragraph @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.gallery_item.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.gallery_item.field_heading.yml index 25d4ac38a5..c389e55361 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.gallery_item.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.gallery_item.field_heading.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.paragraph.field_heading + - filter.format.heading_html - paragraphs.paragraphs_type.gallery_item module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - heading_html id: paragraph.gallery_item.field_heading field_name: field_heading entity_type: paragraph @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - heading_html field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.gallery_item.field_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.gallery_item.field_text.yml index 18239a7a1d..1c2d7c3a86 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.gallery_item.field_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.gallery_item.field_text.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.paragraph.field_text + - filter.format.restricted_html - paragraphs.paragraphs_type.gallery_item module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - restricted_html id: paragraph.gallery_item.field_text field_name: field_text entity_type: paragraph @@ -22,5 +18,7 @@ required: false translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - restricted_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.tab.field_heading.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.tab.field_heading.yml index 235538555b..9c8e939be0 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.tab.field_heading.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.tab.field_heading.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.paragraph.field_heading + - filter.format.plain_text - paragraphs.paragraphs_type.tab module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - plain_text id: paragraph.tab.field_heading field_name: field_heading entity_type: paragraph @@ -22,5 +18,7 @@ required: true translatable: true default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - plain_text field_type: text diff --git a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.text.field_text.yml b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.text.field_text.yml index 0810423aca..6840b4a456 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.text.field_text.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/field.field.paragraph.text.field_text.yml @@ -4,14 +4,10 @@ status: true dependencies: config: - field.storage.paragraph.field_text + - filter.format.basic_html - paragraphs.paragraphs_type.text module: - - allowed_formats - text -third_party_settings: - allowed_formats: - allowed_formats: - - basic_html id: paragraph.text.field_text field_name: field_text entity_type: paragraph @@ -22,5 +18,7 @@ required: true translatable: false default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: + - basic_html field_type: text_long diff --git a/web/profiles/custom/yalesites_profile/config/sync/filter.format.basic_html.yml b/web/profiles/custom/yalesites_profile/config/sync/filter.format.basic_html.yml index 6321685235..33b90851c4 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/filter.format.basic_html.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/filter.format.basic_html.yml @@ -80,15 +80,21 @@ filters: smartypants_enabled: '1' smartypants_hyphens: '2' space_hyphens: '0' + wrap_ampersand: '0' widont_enabled: '0' - hyphenate_shy: '0' space_to_nbsp: '1' - wrap_caps: '0' - wrap_ampersand: '0' + hyphenate_shy: '0' wrap_abbr: '0' - wrap_numbers: '0' + wrap_caps: '0' wrap_initial_quotes: '1' + wrap_numbers: '0' ligatures: 'a:0:{}' arrows: 'a:0:{}' fractions: 'a:0:{}' quotes: 'a:2:{s:2:",,";s:2:",,";s:2:"''''";s:2:"''''";}' + filter_image_lazy_load: + id: filter_image_lazy_load + provider: filter + status: true + weight: 12 + settings: { } diff --git a/web/profiles/custom/yalesites_profile/config/sync/node.type.event.yml b/web/profiles/custom/yalesites_profile/config/sync/node.type.event.yml index cd0c4095de..205945621a 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/node.type.event.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/node.type.event.yml @@ -14,9 +14,14 @@ third_party_settings: search_api_exclude: enabled: 1 node_revision_delete: - minimum_revisions_to_keep: 1 - minimum_age_to_delete: 12 - when_to_delete: 0 + amount: + status: true + settings: + amount: 1 + created: + status: true + settings: + age: 12 entity_redirect: redirect: anonymous: diff --git a/web/profiles/custom/yalesites_profile/config/sync/node.type.page.yml b/web/profiles/custom/yalesites_profile/config/sync/node.type.page.yml index f7a4ace8f8..85362c92ad 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/node.type.page.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/node.type.page.yml @@ -16,9 +16,14 @@ third_party_settings: search_api_exclude: enabled: 1 node_revision_delete: - minimum_revisions_to_keep: 1 - minimum_age_to_delete: 12 - when_to_delete: 0 + amount: + status: true + settings: + amount: 1 + created: + status: true + settings: + age: 12 entity_redirect: redirect: anonymous: diff --git a/web/profiles/custom/yalesites_profile/config/sync/node.type.post.yml b/web/profiles/custom/yalesites_profile/config/sync/node.type.post.yml index 038619825e..af2538f0bc 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/node.type.post.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/node.type.post.yml @@ -14,9 +14,14 @@ third_party_settings: search_api_exclude: enabled: 1 node_revision_delete: - minimum_revisions_to_keep: 1 - minimum_age_to_delete: 12 - when_to_delete: 0 + amount: + status: true + settings: + amount: 1 + created: + status: true + settings: + age: 12 entity_redirect: redirect: anonymous: diff --git a/web/profiles/custom/yalesites_profile/config/sync/node.type.profile.yml b/web/profiles/custom/yalesites_profile/config/sync/node.type.profile.yml index 466189c2c5..ac7ca280bd 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/node.type.profile.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/node.type.profile.yml @@ -36,9 +36,14 @@ third_party_settings: search_api_exclude: enabled: 1 node_revision_delete: - minimum_revisions_to_keep: 1 - minimum_age_to_delete: 12 - when_to_delete: 0 + amount: + status: true + settings: + amount: 1 + created: + status: true + settings: + age: 12 name: Profile type: profile description: 'Manage and present profiles and directories on your website.' diff --git a/web/profiles/custom/yalesites_profile/config/sync/node_revision_delete.settings.yml b/web/profiles/custom/yalesites_profile/config/sync/node_revision_delete.settings.yml deleted file mode 100644 index 5b399cc1b5..0000000000 --- a/web/profiles/custom/yalesites_profile/config/sync/node_revision_delete.settings.yml +++ /dev/null @@ -1,11 +0,0 @@ -_core: - default_config_hash: Cq0qEqvsPlEVfrCpF0VRzK4MFQhRHzqncneoTEKHXUc -delete_newer: false -node_revision_delete_cron: 50 -node_revision_delete_time: 86400 -node_revision_delete_minimum_age_to_delete_time: - max_number: 12 - time: months -node_revision_delete_when_to_delete_time: - max_number: 12 - time: months diff --git a/web/profiles/custom/yalesites_profile/config/sync/search_api.index.node_index.yml b/web/profiles/custom/yalesites_profile/config/sync/search_api.index.node_index.yml index 7089b8a7ce..9e3ccc4598 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/search_api.index.node_index.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/search_api.index.node_index.yml @@ -42,9 +42,8 @@ field_settings: event: default page: default post: default - profile: default status: - label: status + label: null datasource_id: 'entity:node' property_path: status type: boolean @@ -54,7 +53,7 @@ field_settings: module: - node uid: - label: uid + label: null datasource_id: 'entity:node' property_path: uid type: integer diff --git a/web/profiles/custom/yalesites_profile/config/sync/search_api.settings.yml b/web/profiles/custom/yalesites_profile/config/sync/search_api.settings.yml index 21dfa083c2..510a3e5280 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/search_api.settings.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/search_api.settings.yml @@ -5,7 +5,7 @@ cron_worker_runtime: 15 default_tracker: default tracking_page_size: 100 boost_factors: - - !!float 0 + - 0.0 - 0.1 - 0.2 - 0.3 @@ -14,15 +14,15 @@ boost_factors: - 0.7 - 0.8 - 0.9 - - !!float 1 + - 1.0 - 1.1 - 1.2 - 1.3 - 1.4 - 1.5 - - !!float 2 - - !!float 3 - - !!float 5 - - !!float 8 - - !!float 13 - - !!float 21 + - 2.0 + - 3.0 + - 5.0 + - 8.0 + - 13.0 + - 21.0 diff --git a/web/profiles/custom/yalesites_profile/config/sync/system.feature_flags.yml b/web/profiles/custom/yalesites_profile/config/sync/system.feature_flags.yml new file mode 100644 index 0000000000..7169df08b7 --- /dev/null +++ b/web/profiles/custom/yalesites_profile/config/sync/system.feature_flags.yml @@ -0,0 +1 @@ +linkset_endpoint: false diff --git a/web/profiles/custom/yalesites_profile/config/sync/user.role.authenticated.yml b/web/profiles/custom/yalesites_profile/config/sync/user.role.authenticated.yml index e9b6076e41..27646f4045 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/user.role.authenticated.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/user.role.authenticated.yml @@ -7,6 +7,7 @@ dependencies: - filter.format.heading_html - filter.format.restricted_html module: + - file - filter - google_analytics - media @@ -19,6 +20,7 @@ weight: 1 is_admin: false permissions: - 'access content' + - 'delete own files' - 'opt-in or out of google analytics tracking' - 'use text format basic_html' - 'use text format heading_html' diff --git a/web/profiles/custom/yalesites_profile/config/sync/user.role.platform_admin.yml b/web/profiles/custom/yalesites_profile/config/sync/user.role.platform_admin.yml index 9b0ea4cedc..c23fbf1a02 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/user.role.platform_admin.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/user.role.platform_admin.yml @@ -21,7 +21,7 @@ dependencies: - taxonomy.vocabulary.tags module: - block - - block_content_permissions + - block_content - contextual - editoria11y - file @@ -47,6 +47,7 @@ label: 'Platform administrator' weight: 2 is_admin: null permissions: + - 'access block library' - 'access content overview' - 'access contextual links' - 'access files overview' @@ -57,6 +58,8 @@ permissions: - 'access toolbar' - 'access user profiles' - 'access webform overview' + - 'administer block content' + - 'administer block types' - 'administer blocks' - 'administer main menu items' - 'administer redirects' @@ -71,81 +74,38 @@ permissions: - 'configure editable page node layout overrides' - 'configure editable post node layout overrides' - 'configure editable profile node layout overrides' - - 'create accordion block content' - 'create and edit custom blocks' - 'create background_video media' - - 'create button_link block content' - - 'create callout block content' - - 'create content_spotlight block content' - - 'create cta_banner block content' - - 'create custom_cards block content' - - 'create divider block content' - 'create document media' - - 'create embed block content' - 'create embed media' - 'create event content' - - 'create event_list block content' - - 'create gallery block content' - - 'create grand_hero block content' - - 'create image block content' - 'create image media' - 'create media' - - 'create media_grid block content' - 'create page content' - 'create post content' - - 'create post_list block content' - 'create profile content' - - 'create pull_quote block content' - - 'create quick_links block content' - - 'create tabs block content' - 'create terms in event_category' - 'create terms in post_category' - 'create terms in tags' - - 'create text block content' - 'create url aliases' - - 'create video block content' - 'create video media' - - 'create view block content' - - 'create webform block content' - - 'create wrapped_image block content' - - 'delete any accordion block content' - 'delete any background_video media' - - 'delete any button_link block content' - - 'delete any callout block content' - - 'delete any content_spotlight block content' - - 'delete any cta_banner block content' - - 'delete any custom_cards block content' - - 'delete any divider block content' - 'delete any document media' - - 'delete any embed block content' - 'delete any embed media' - 'delete any event content' - - 'delete any event_list block content' - - 'delete any gallery block content' - - 'delete any grand_hero block content' - - 'delete any image block content' - 'delete any image media' - 'delete any media' - - 'delete any media_grid block content' - 'delete any page content' - 'delete any post content' - - 'delete any post_list block content' - 'delete any profile content' - - 'delete any pull_quote block content' - - 'delete any quick_links block content' - - 'delete any tabs block content' - - 'delete any text block content' - - 'delete any video block content' - 'delete any video media' - - 'delete any view block content' - - 'delete any webform block content' - 'delete any webform submission' - - 'delete any wrapped_image block content' - 'delete media' - 'delete own background_video media' - 'delete own document media' - 'delete own embed media' - 'delete own event content' + - 'delete own files' - 'delete own image media' - 'delete own page content' - 'delete own post content' @@ -192,29 +152,7 @@ permissions: - 'revert profile revisions' - 'unpublish any content' - 'unpublish editable content' - - 'update any accordion block content' - - 'update any button_link block content' - - 'update any callout block content' - - 'update any content_spotlight block content' - - 'update any cta_banner block content' - - 'update any custom_cards block content' - - 'update any divider block content' - - 'update any embed block content' - - 'update any event_list block content' - - 'update any gallery block content' - - 'update any grand_hero block content' - - 'update any image block content' - 'update any media' - - 'update any media_grid block content' - - 'update any post_list block content' - - 'update any pull_quote block content' - - 'update any quick_links block content' - - 'update any tabs block content' - - 'update any text block content' - - 'update any video block content' - - 'update any view block content' - - 'update any webform block content' - - 'update any wrapped_image block content' - 'update media' - 'view all media revisions' - 'view all revisions' diff --git a/web/profiles/custom/yalesites_profile/config/sync/user.role.site_admin.yml b/web/profiles/custom/yalesites_profile/config/sync/user.role.site_admin.yml index 03bea303a4..a83b87e874 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/user.role.site_admin.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/user.role.site_admin.yml @@ -20,7 +20,6 @@ dependencies: - taxonomy.vocabulary.post_category - taxonomy.vocabulary.tags module: - - block_content_permissions - contextual - editoria11y - file @@ -67,81 +66,38 @@ permissions: - 'configure editable page node layout overrides' - 'configure editable post node layout overrides' - 'configure editable profile node layout overrides' - - 'create accordion block content' - 'create and edit custom blocks' - 'create background_video media' - - 'create button_link block content' - - 'create callout block content' - - 'create content_spotlight block content' - - 'create cta_banner block content' - - 'create custom_cards block content' - - 'create divider block content' - 'create document media' - - 'create embed block content' - 'create embed media' - 'create event content' - - 'create event_list block content' - - 'create gallery block content' - - 'create grand_hero block content' - - 'create image block content' - 'create image media' - 'create media' - - 'create media_grid block content' - 'create page content' - 'create post content' - - 'create post_list block content' - 'create profile content' - - 'create pull_quote block content' - - 'create quick_links block content' - - 'create tabs block content' - 'create terms in event_category' - 'create terms in post_category' - 'create terms in tags' - - 'create text block content' - 'create url aliases' - - 'create video block content' - 'create video media' - - 'create view block content' - - 'create webform block content' - - 'create wrapped_image block content' - - 'delete any accordion block content' - 'delete any background_video media' - - 'delete any button_link block content' - - 'delete any callout block content' - - 'delete any content_spotlight block content' - - 'delete any cta_banner block content' - - 'delete any custom_cards block content' - - 'delete any divider block content' - 'delete any document media' - - 'delete any embed block content' - 'delete any embed media' - 'delete any event content' - - 'delete any event_list block content' - - 'delete any gallery block content' - - 'delete any grand_hero block content' - - 'delete any image block content' - 'delete any image media' - 'delete any media' - - 'delete any media_grid block content' - 'delete any page content' - 'delete any post content' - - 'delete any post_list block content' - 'delete any profile content' - - 'delete any pull_quote block content' - - 'delete any quick_links block content' - - 'delete any tabs block content' - - 'delete any text block content' - - 'delete any video block content' - 'delete any video media' - - 'delete any view block content' - - 'delete any webform block content' - 'delete any webform submission' - - 'delete any wrapped_image block content' - 'delete media' - 'delete own background_video media' - 'delete own document media' - 'delete own embed media' - 'delete own event content' + - 'delete own files' - 'delete own image media' - 'delete own page content' - 'delete own post content' @@ -185,29 +141,7 @@ permissions: - 'revert profile revisions' - 'unpublish any content' - 'unpublish editable content' - - 'update any accordion block content' - - 'update any button_link block content' - - 'update any callout block content' - - 'update any content_spotlight block content' - - 'update any cta_banner block content' - - 'update any custom_cards block content' - - 'update any divider block content' - - 'update any embed block content' - - 'update any event_list block content' - - 'update any gallery block content' - - 'update any grand_hero block content' - - 'update any image block content' - 'update any media' - - 'update any media_grid block content' - - 'update any post_list block content' - - 'update any pull_quote block content' - - 'update any quick_links block content' - - 'update any tabs block content' - - 'update any text block content' - - 'update any video block content' - - 'update any view block content' - - 'update any webform block content' - - 'update any wrapped_image block content' - 'update media' - 'view all media revisions' - 'view all revisions' diff --git a/web/profiles/custom/yalesites_profile/config/sync/views.view.block_content.yml b/web/profiles/custom/yalesites_profile/config/sync/views.view.block_content.yml index cf9fc9ae26..96c0ef6a53 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/views.view.block_content.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/views.view.block_content.yml @@ -8,7 +8,7 @@ dependencies: _core: default_config_hash: jvd5Pu6jy-lra4oMr-mR7zuY6CVDv9CaNeoj0Y70gV4 id: block_content -label: 'Custom block library' +label: 'Content blocks' module: views description: 'Find and manage custom blocks.' tag: default @@ -209,6 +209,15 @@ display: date_format: short custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 operations: id: operations table: block_content @@ -291,7 +300,7 @@ display: access: type: perm options: - perm: 'administer blocks' + perm: 'access block library' cache: type: tag options: { } @@ -523,14 +532,15 @@ display: position: 1 display_options: display_extenders: { } - path: admin/structure/block/block-content + path: admin/content/block menu: type: tab - title: 'Custom block library' - description: '' + title: Blocks + description: 'Create and edit block content.' weight: 0 + expanded: false menu_name: admin - parent: block.admin_display + parent: system.admin_content context: '0' cache_metadata: max-age: -1 diff --git a/web/profiles/custom/yalesites_profile/config/sync/views.view.content.yml b/web/profiles/custom/yalesites_profile/config/sync/views.view.content.yml index 45dcb2bcfd..1d64abd51e 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/views.view.content.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/views.view.content.yml @@ -421,6 +421,15 @@ display: date_format: short custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/web/profiles/custom/yalesites_profile/config/sync/views.view.export_media.yml b/web/profiles/custom/yalesites_profile/config/sync/views.view.export_media.yml index 58a2db6ec3..393bcba071 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/views.view.export_media.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/views.view.export_media.yml @@ -378,6 +378,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/web/profiles/custom/yalesites_profile/config/sync/views.view.export_taxonomy.yml b/web/profiles/custom/yalesites_profile/config/sync/views.view.export_taxonomy.yml index b2a935e93e..7ad684f5b3 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/views.view.export_taxonomy.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/views.view.export_taxonomy.yml @@ -378,6 +378,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/web/profiles/custom/yalesites_profile/config/sync/views.view.files.yml b/web/profiles/custom/yalesites_profile/config/sync/views.view.files.yml index 20012bfb88..ee49d5d5cc 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/views.view.files.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/views.view.files.yml @@ -335,6 +335,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 changed: id: changed table: file_managed @@ -391,6 +400,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 count: id: count table: file_usage diff --git a/web/profiles/custom/yalesites_profile/config/sync/views.view.glossary.yml b/web/profiles/custom/yalesites_profile/config/sync/views.view.glossary.yml index c4bc774ba2..b5c42a1640 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/views.view.glossary.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/views.view.glossary.yml @@ -183,6 +183,15 @@ display: date_format: long custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 pager: type: mini options: diff --git a/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_events.yml b/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_events.yml index 5f24d19abf..3df1788022 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_events.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_events.yml @@ -581,6 +581,15 @@ display: date_format: short custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_pages.yml b/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_pages.yml index eddf75a3b9..4371b8b030 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_pages.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_pages.yml @@ -401,6 +401,15 @@ display: date_format: short custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_posts.yml b/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_posts.yml index 016b6e4d9e..7b68c2edd1 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_posts.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_posts.yml @@ -512,6 +512,15 @@ display: date_format: short custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_profiles.yml b/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_profiles.yml index 78b0b3fe6e..83a922c675 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_profiles.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/views.view.manage_profiles.yml @@ -523,6 +523,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/web/profiles/custom/yalesites_profile/config/sync/views.view.media.yml b/web/profiles/custom/yalesites_profile/config/sync/views.view.media.yml index 388cdd7743..c3a4f5338b 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/views.view.media.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/views.view.media.yml @@ -378,6 +378,15 @@ display: date_format: short custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/web/profiles/custom/yalesites_profile/config/sync/views.view.media_library.yml b/web/profiles/custom/yalesites_profile/config/sync/views.view.media_library.yml index 868eb2c157..63dea800a4 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/views.view.media_library.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/views.view.media_library.yml @@ -1224,6 +1224,15 @@ display: date_format: short custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 access: type: perm options: diff --git a/web/profiles/custom/yalesites_profile/config/sync/views.view.section_library.yml b/web/profiles/custom/yalesites_profile/config/sync/views.view.section_library.yml index 861c366974..927e6fc6e7 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/views.view.section_library.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/views.view.section_library.yml @@ -405,6 +405,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true @@ -472,6 +481,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/web/profiles/custom/yalesites_profile/config/sync/views.view.webform_submissions.yml b/web/profiles/custom/yalesites_profile/config/sync/views.view.webform_submissions.yml index 74564ac194..f77230524a 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/views.view.webform_submissions.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/views.view.webform_submissions.yml @@ -216,6 +216,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true @@ -979,6 +988,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true @@ -1046,6 +1064,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true @@ -1901,6 +1928,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true @@ -1968,6 +2004,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true @@ -2735,6 +2780,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true @@ -2802,6 +2856,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/web/profiles/custom/yalesites_profile/config/sync/ys_alert.settings.yml b/web/profiles/custom/yalesites_profile/config/sync/ys_alert.settings.yml index e410f51d8b..911080cd5b 100644 --- a/web/profiles/custom/yalesites_profile/config/sync/ys_alert.settings.yml +++ b/web/profiles/custom/yalesites_profile/config/sync/ys_alert.settings.yml @@ -2,7 +2,7 @@ alert_types: - id: announcement label: Announcement - description: 'Announcement alerts are for sharing information relevant to the current site users'' actions and goals they are seeking to accomplish. This includes planned outages, closures, important deadlines, and COVID-19 info and regulations.' + description: "Announcement alerts are for sharing information relevant to the current site users' actions and goals they are seeking to accomplish. This includes planned outages, closures, important deadlines, and COVID-19 info and regulations." - id: marketing label: Marketing @@ -10,7 +10,7 @@ alert_types: - id: emergency label: Emergency - description: 'Emergency alerts are for sharing information vital to the average user''s current situation. This includes lockdown/safety information, severe weather that requires people to take shelter, or other events with possible detrimental effects on ones safety. Only use this type of alert in the case of an extreme emergency.' + description: "Emergency alerts are for sharing information vital to the average user's current situation. This includes lockdown/safety information, severe weather that requires people to take shelter, or other events with possible detrimental effects on ones safety. Only use this type of alert in the case of an extreme emergency." alert: id: 1660263375 headline: 'Optional banner for displaying an announcement or notice' diff --git a/web/profiles/custom/yalesites_profile/modules/custom/ys_layouts/src/UpdateExistingNodes.php b/web/profiles/custom/yalesites_profile/modules/custom/ys_layouts/src/UpdateExistingNodes.php index 87f7431757..5490409db5 100644 --- a/web/profiles/custom/yalesites_profile/modules/custom/ys_layouts/src/UpdateExistingNodes.php +++ b/web/profiles/custom/yalesites_profile/modules/custom/ys_layouts/src/UpdateExistingNodes.php @@ -61,7 +61,9 @@ public function updateExistingPageMeta() { if ($this->pageMetaSection instanceof Section) { // Find all page nodes to update existing. - $nids = \Drupal::entityQuery('node')->condition('type', 'page')->execute(); + $nids = \Drupal::entityQuery('node') + ->accessCheck(FALSE) + ->condition('type', 'page')->execute(); foreach ($nids as $nid) { $node = Node::load($nid); @@ -117,7 +119,9 @@ public function updateExistingPageMeta() { */ public function updateExistingPageLock() { // Find all page nodes to update existing. - $nids = \Drupal::entityQuery('node')->condition('type', 'page')->execute(); + $nids = \Drupal::entityQuery('node') + ->accessCheck(FALSE) + ->condition('type', 'page')->execute(); foreach ($nids as $nid) { $node = Node::load($nid); @@ -227,7 +231,9 @@ public function updateExistingPostMeta() { if ($this->postMetaSection instanceof Section) { // Find all post nodes to update existing. - $nids = \Drupal::entityQuery('node')->condition('type', 'post')->execute(); + $nids = \Drupal::entityQuery('node') + ->accessCheck(FALSE) + ->condition('type', 'post')->execute(); foreach ($nids as $nid) { $node = Node::load($nid); @@ -295,7 +301,9 @@ public function updateExistingEventMeta() { if ($this->eventMetaSection instanceof Section) { // Find all event nodes to update existing. - $nids = \Drupal::entityQuery('node')->condition('type', 'event')->execute(); + $nids = \Drupal::entityQuery('node') + ->accessCheck(FALSE) + ->condition('type', 'event')->execute(); foreach ($nids as $nid) { $node = Node::load($nid); diff --git a/web/profiles/custom/yalesites_profile/modules/custom/ys_themes/css/levers.css b/web/profiles/custom/yalesites_profile/modules/custom/ys_themes/css/levers.css index 9a7ab4b480..ac617b99e0 100644 --- a/web/profiles/custom/yalesites_profile/modules/custom/ys_themes/css/levers.css +++ b/web/profiles/custom/yalesites_profile/modules/custom/ys_themes/css/levers.css @@ -410,3 +410,16 @@ color: var(--darkest-gray); padding: var(--size-spacing-5); } + +/* Drupal 10 fix */ + +#drupal-off-canvas + .ys-themes--global-settings + :is(#drupal-off-canvas-wrapper input[type="radio"]) + + label, +#drupal-off-canvas + .ys-themes--global-settings + :is(#drupal-off-canvas-wrapper input[type="checkbox"]) + + label { + display: block; +} diff --git a/web/profiles/custom/yalesites_profile/modules/custom/ys_views_basic/assets/css/views-basic.css b/web/profiles/custom/yalesites_profile/modules/custom/ys_views_basic/assets/css/views-basic.css index df8999ceda..a6fb5d07cd 100644 --- a/web/profiles/custom/yalesites_profile/modules/custom/ys_views_basic/assets/css/views-basic.css +++ b/web/profiles/custom/yalesites_profile/modules/custom/ys_views_basic/assets/css/views-basic.css @@ -3,15 +3,18 @@ */ /* General styles */ -.views-basic--params { +.views-basic--params, +#drupal-off-canvas-wrapper .views-basic--params { display: none; } -.views-basic--parameter-preview { +.views-basic--parameter-preview, +#drupal-off-canvas-wrapper .views-basic--parameter-preview { margin-top: 1rem; } -.glb-form-type--radio { +.glb-form-type--radio, +#drupal-off-canvas-wrapper .glb-form-type--radio { display: flex; flex-direction: column; width: 100%; @@ -24,6 +27,7 @@ } /* Chosen dropdown selected color contrast fix */ + /* ******************************************* */ .chosen-container .chosen-results { color: var(--gin-color-info); @@ -32,10 +36,12 @@ .chosen-container-multi .chosen-drop .result-selected { color: var(--gin-color-green); } + /* ************ Contrast fix end ************ */ /* visually hide the inputs */ -.layout-builder-configure-block .grouped-items .glb-form-type--radio input { +.layout-builder-configure-block .grouped-items .glb-form-type--radio input, +#drupal-off-canvas-wrapper .layout-builder-configure-block .grouped-items .glb-form-type--radio input { border: 0; clip: rect(0 0 0 0); height: 1px; @@ -47,7 +53,8 @@ } /* base for labels */ -.glb-form-type--radio label.glb-form-item__label.glb-option { +.glb-form-type--radio label.glb-form-item__label.glb-option, +#drupal-off-canvas-wrapper .glb-form-type--radio label.glb-form-item__label.glb-option { display: flex !important; align-items: center; flex-direction: column; @@ -63,251 +70,438 @@ margin-bottom: var(--size-spacing-4); } -.glb-form-type--radio label.glb-form-item__label.glb-option:hover { +.glb-form-type--radio label.glb-form-item__label.glb-option:hover, +#drupal-off-canvas-wrapper .glb-form-type--radio label.glb-form-item__label.glb-option:hover { border-color: var(--darkest-gray); } - /****** /******** Input styles *******/ -/*views-basic--group-user-selection*/ +/* views-basic--group-user-selection */ -#drupal-off-canvas .layout-builder-configure-block { +#drupal-off-canvas-wrapper .layout-builder-configure-block, +#drupal-off-canvas:not(.drupal-off-canvas-reset) + .layout-builder-configure-block { width: 100%; } -.grouped-items .fieldset__wrapper { +.grouped-items .fieldset__wrapper, +#drupal-off-canvas-wrapper .grouped-items .fieldset__wrapper { display: flex; flex-direction: column; } -#drupal-off-canvas .layout-builder-configure-block legend { +#drupal-off-canvas-wrapper .layout-builder-configure-block legend, +#drupal-off-canvas:not(.drupal-off-canvas-reset) + .layout-builder-configure-block + legend { margin-bottom: var(--size-spacing-4); } -#drupal-off-canvas .layout-builder-configure-block .glb-form-item__label { +#drupal-off-canvas-wrapper + .layout-builder-configure-block + .glb-form-item__label, +#drupal-off-canvas:not(.drupal-off-canvas-reset) + .layout-builder-configure-block + .glb-form-item__label { font-size: 1rem !important; } - /* /** in sidebar */ -/*views-basic--group-user-selection*/ -#drupal-off-canvas.ui-dialog-content div.glb-form-item__description { +/* views-basic--group-user-selection */ +#drupal-off-canvas-wrapper.ui-dialog-content div.glb-form-item__description, +#drupal-off-canvas:not(.drupal-off-canvas-reset).ui-dialog-content + div.glb-form-item__description { margin-top: 0.5rem; } -#drupal-off-canvas.ui-dialog-content div.counter { +#drupal-off-canvas-wrapper.ui-dialog-content div.counter, +#drupal-off-canvas:not(.drupal-off-canvas-reset).ui-dialog-content div.counter { margin-top: 1rem; } -#drupal-off-canvas .fieldset, -#drupal-off-canvas .views-basic--group-user-selection .grouped-items { - display: flex; - flex-direction: column; +/* +/** in modal +*/ +#layout-builder-modal .grouped-items, +#drupal-off-canvas-wrapper #layout-builder-modal .grouped-items { width: 100%; } -.grouped-items .glb-form-composite .fieldset__wrapper { - border-top: 0.15rem solid var(--color-gray-500); -} - -.glb-fieldset__legend--composite .glb-fieldset__label { - font-size: 1rem; -} - -#drupal-off-canvas .views-basic--group-user-selection .grouped-items .fieldset--group .fieldset__wrapper--group .glb-form-radios { - display: flex; - flex-wrap: wrap; - justify-content: start; - gap: 0.75rem; -} - -#drupal-off-canvas .views-basic--group-user-selection .grouped-items .fieldset--group .fieldset__wrapper--group .glb-form-radios .glb-form-type--radio { +#layout-builder-modal .grouped-items .glb-form-type--radio, +#drupal-off-canvas-wrapper #layout-builder-modal .grouped-items .glb-form-type--radio { width: auto; } -/* first column */ -#drupal-off-canvas .grouped-items .fieldset--group .fieldset__wrapper--group .glb-form-type--radio label { - width: 110px; - height: 150px; +#drupal-off-canvas-wrapper .fieldset, +#drupal-off-canvas:not(.drupal-off-canvas-reset) .fieldset, +#drupal-off-canvas-wrapper .views-basic--group-user-selection .grouped-items, +#drupal-off-canvas:not(.drupal-off-canvas-reset) + .views-basic--group-user-selection + .grouped-items { + display: flex; + flex-direction: column; + width: 100%; } -/* while other items look great, the term-operators text was getting cut off - * so we need to adjust the label width and height for the term operators - */ -#drupal-off-canvas .grouped-items .fieldset--group .fieldset__wrapper--group .glb-form-type--radio input.term-operator-item + label { - width: 130px !important; - height: 150px !important; +.grouped-items .glb-form-composite .fieldset__wrapper, +#drupal-off-canvas-wrapper .grouped-items .glb-form-composite .fieldset__wrapper { + border-top: 0.15rem solid var(--color-gray-500); } -/* second column */ -#drupal-off-canvas .grouped-items .fieldset--group.views-basic--view-mode .fieldset__wrapper--group .glb-form-type--radio label { - width: 175px; - height: 200px; +.glb-fieldset__legend--composite .glb-fieldset__label, +#drupal-off-canvas-wrapper .glb-fieldset__legend--composite .glb-fieldset__label { + font-size: 1rem; } +/****** +/******** Label and fieldset styles +*******/ /* -/** in modal +/***** I want to show: */ -#layout-builder-modal .grouped-items { - width: 100%; -} -#layout-builder-modal .grouped-items .glb-form-type--radio { - width: auto; +/* Posts */ +.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="post"] + + label, +#drupal-off-canvas-wrapper .form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="post"] + + label { + background-image: url("../icons/content-type-post.svg"); + background-repeat: no-repeat; + background-position: center 4rem; } -/* first column */ -#layout-builder-modal .grouped-items .fieldset--group { - flex: 1 0 52.5%; +/* Events */ +.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="event"] + + label, +#drupal-off-canvas-wrapper .form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="event"] + + label { + background-image: url("../icons/content-type-event.svg"); + background-repeat: no-repeat; + background-position: center 4rem; } -#layout-builder-modal .grouped-items .fieldset--group .fieldset__wrapper--group .glb-form-type--radio label { - width: 125px; - height: 150px; +.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="page"] + + label, +#drupal-off-canvas-wrapper .form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="page"] + + label { + background-image: url("../icons/content-type-page.svg"); + background-repeat: no-repeat; + background-position: center 4rem; } -#layout-builder-modal .grouped-items .fieldset--group .fieldset__wrapper--group .form-boolean-group { - display: flex; - flex-direction: row; - gap: 1rem; - width: 100%; +/* Profiles */ +.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="profile"] + + label, +#drupal-off-canvas-wrapper .form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="profile"] + + label { + background-image: url("../icons/content-type-profile.svg"); + background-repeat: no-repeat; + background-position: center 4rem; } -/* second column */ -#layout-builder-modal .grouped-items #edit-view-mode { - display: flex; - flex: 1 auto; - width: 100%; -} +/* +/***** As: +*/ -#layout-builder-modal .grouped-items #edit-view-mode .fieldset--group { - flex: 1 auto; +/* Card */ +.views-basic--view-mode input[value="card"] + label, +#drupal-off-canvas-wrapper .views-basic--view-mode input[value="card"] + label { + background-image: url("../icons/display-type-card-grid.svg"); + background-repeat: no-repeat; + background-position: center 4rem; } -#layout-builder-modal .grouped-items #edit-view-mode .fieldset--group .fieldset__wrapper--group .glb-form-type--radio label { - width: 170px; - height: 150px; +/* List */ +.views-basic--view-mode input[value="list_item"] + label, +#drupal-off-canvas-wrapper .views-basic--view-mode input[value="list_item"] + label { + background-image: url("../icons/display-type-list-view.svg"); + background-repeat: no-repeat; + background-position: center 4rem; } +/* Condensed */ +.views-basic--view-mode input[value="condensed"] + label, +#drupal-off-canvas-wrapper .views-basic--view-mode input[value="condensed"] + label { + background-image: url("../icons/display-type-condensed.svg"); + background-repeat: no-repeat; + background-position: center 0; + background-size: 150%; +} -/****** -/******** Label and fieldset styles -*******/ +/* Directory */ +.views-basic--view-mode input[value="directory"] + label, +#drupal-off-canvas-wrapper .views-basic--view-mode input[value="directory"] + label { + background-image: url("../icons/display-type-directory.svg"); + background-repeat: no-repeat; + background-position: center 1rem; + background-size: 120%; +} .layout-builder-configure-block .grouped-items fieldset:focus-visible, +#drupal-off-canvas-wrapper .layout-builder-configure-block .grouped-items fieldset:focus-visible, .layout-builder-configure-block .grouped-items fieldset:focus-within, +#drupal-off-canvas-wrapper .layout-builder-configure-block .grouped-items fieldset:focus-within, .layout-builder-configure-block .grouped-items label:focus-visible, -.layout-builder-configure-block .grouped-items input[type="submit"].button--primary:focus { +#drupal-off-canvas-wrapper .layout-builder-configure-block .grouped-items label:focus-visible, +.layout-builder-configure-block + .grouped-items + input[type="submit"].button--primary:focus, +#drupal-off-canvas-wrapper .layout-builder-configure-block + .grouped-items + input[type="submit"].button--primary:focus { outline: var(--size-thickness-2) solid var(--color-link-base); outline-offset: var(--size-thickness-2); } -.layout-builder-configure-block .form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types:hover label, -.layout-builder-configure-block .form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types:focus label, -.layout-builder-configure-block .form-item-settings-block-form-group-user-selection-entity-and-view-mode-view-mode:hover label, -.layout-builder-configure-block .form-item-settings-block-form-group-user-selection-entity-and-view-mode-view-mode:focus label { +.layout-builder-configure-block + .form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types:hover + label, +#drupal-off-canvas-wrapper .layout-builder-configure-block + .form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types:hover + label, +.layout-builder-configure-block + .form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types:focus + label, +#drupal-off-canvas-wrapper .layout-builder-configure-block + .form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types:focus + label, +.layout-builder-configure-block + .form-item-settings-block-form-group-user-selection-entity-and-view-mode-view-mode:hover + label, +#drupal-off-canvas-wrapper .layout-builder-configure-block + .form-item-settings-block-form-group-user-selection-entity-and-view-mode-view-mode:hover + label, +.layout-builder-configure-block + .form-item-settings-block-form-group-user-selection-entity-and-view-mode-view-mode:focus + label, +#drupal-off-canvas-wrapper .layout-builder-configure-block + .form-item-settings-block-form-group-user-selection-entity-and-view-mode-view-mode:focus + label { background-color: var(--dark-theme-gray); border-color: var(--darkest-gray); } -.layout-builder-configure-block .glb-form-type--radio input[checked="checked"] + label, -.layout-builder-configure-block .glb-form-type--radio input[checked="checked"] + label:hover, -.layout-builder-configure-block .glb-form-type--radio:hover input[checked="checked"] + label { +/* Pages */ +.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="page"][checked="checked"] + + label, +#drupal-off-canvas-wrapper .form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="page"][checked="checked"] + + label { background-color: var(--darkest-gray); - color: var(--wool) !important; -} - - -/* -/***** I want to show: -*/ - -/* Posts */ -.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types input[value="post"] + label { - background-image: url('../icons/content-type-post.svg'); - background-repeat: no-repeat; - background-position: center 4rem; + color: var(--wool); } -.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types input[value="post"][checked="checked"] + label { +/* Profiles */ +.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="profile"][checked="checked"] + + label, +#drupal-off-canvas-wrapper .form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="profile"][checked="checked"] + + label { background-color: var(--darkest-gray); color: var(--wool); } - /* Events */ -.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types input[value="event"] + label { - background-image: url('../icons/content-type-event.svg'); - background-repeat: no-repeat; - background-position: center 4rem; +.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="event"][checked="checked"] + + label, +#drupal-off-canvas-wrapper .form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="event"][checked="checked"] + + label { + background-color: var(--darkest-gray); + color: var(--wool); } -.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types input[value="event"][checked="checked"] + label { +.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="post"][checked="checked"] + + label, +#drupal-off-canvas-wrapper .form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types + input[value="post"][checked="checked"] + + label { background-color: var(--darkest-gray); color: var(--wool); } -/* Pages */ -.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types input[value="page"] + label { - background-image: url('../icons/content-type-page.svg'); - background-repeat: no-repeat; - background-position: center 4rem; +#drupal-off-canvas-wrapper + .views-basic--group-user-selection + .grouped-items + .fieldset--group + .fieldset__wrapper--group + .glb-form-radios, +#drupal-off-canvas:not(.drupal-off-canvas-reset) + .views-basic--group-user-selection + .grouped-items + .fieldset--group + .fieldset__wrapper--group + .glb-form-radios { + display: flex; + flex-wrap: wrap; + justify-content: start; + gap: 0.75rem; } -.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types input[value="page"][checked="checked"] + label { +.layout-builder-configure-block + .glb-form-type--radio + input[checked="checked"] + + label, +#drupal-off-canvas-wrapper .layout-builder-configure-block + .glb-form-type--radio + input[checked="checked"] + + label, +.layout-builder-configure-block + .glb-form-type--radio + input[checked="checked"] + + label:hover, +#drupal-off-canvas-wrapper .layout-builder-configure-block + .glb-form-type--radio + input[checked="checked"] + + label:hover, +.layout-builder-configure-block + .glb-form-type--radio:hover + input[checked="checked"] + + label, +#drupal-off-canvas-wrapper .layout-builder-configure-block + .glb-form-type--radio:hover + input[checked="checked"] + + label { background-color: var(--darkest-gray); - color: var(--wool); + color: var(--wool) !important; } -/* Profiles */ -.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types input[value="profile"] + label { - background-image: url('../icons/content-type-profile.svg'); - background-repeat: no-repeat; - background-position: center 4rem; +#drupal-off-canvas-wrapper + .views-basic--group-user-selection + .grouped-items + .fieldset--group + .fieldset__wrapper--group + .glb-form-radios + .glb-form-type--radio, +#drupal-off-canvas:not(.drupal-off-canvas-reset) + .views-basic--group-user-selection + .grouped-items + .fieldset--group + .fieldset__wrapper--group + .glb-form-radios + .glb-form-type--radio { + width: auto; } -.form-item-settings-block-form-group-user-selection-entity-and-view-mode-entity-types input[value="profile"][checked="checked"] + label { - background-color: var(--darkest-gray); - color: var(--wool); +#layout-builder-modal + .grouped-items + .fieldset--group + .fieldset__wrapper--group + .glb-form-type--radio + label { + width: 125px; + height: 150px; } -/* -/***** As: -*/ +/* first column */ +#drupal-off-canvas-wrapper + .grouped-items + .fieldset--group + .fieldset__wrapper--group + .glb-form-type--radio + label, +#drupal-off-canvas:not(.drupal-off-canvas-reset) + .grouped-items + .fieldset--group + .fieldset__wrapper--group + .glb-form-type--radio + label { + width: 110px; + height: 150px; +} -/* Card */ -.views-basic--view-mode input[value="card"] + label { - background-image: url('../icons/display-type-card-grid.svg'); - background-repeat: no-repeat; - background-position: center 4rem; +/* while other items look great, the term-operators text was getting cut off + * so we need to adjust the label width and height for the term operators + */ + +/* second column */ +#drupal-off-canvas-wrapper + .grouped-items + .fieldset--group.views-basic--view-mode + .fieldset__wrapper--group + .glb-form-type--radio + label, +#drupal-off-canvas:not(.drupal-off-canvas-reset) + .grouped-items + .fieldset--group.views-basic--view-mode + .fieldset__wrapper--group + .glb-form-type--radio + label { + width: 175px; + height: 200px; } -/* List */ -.views-basic--view-mode input[value="list_item"] + label { - background-image: url('../icons/display-type-list-view.svg'); - background-repeat: no-repeat; - background-position: center 4rem; +#drupal-off-canvas-wrapper + .grouped-items + .fieldset--group + .fieldset__wrapper--group + .glb-form-type--radio + input.term-operator-item + + label, +#drupal-off-canvas:not(.drupal-off-canvas-reset) + .grouped-items + .fieldset--group + .fieldset__wrapper--group + .glb-form-type--radio + input.term-operator-item + + label { + width: 130px !important; + height: 150px !important; } -/* Condensed */ -.views-basic--view-mode input[value="condensed"] + label { - background-image: url('../icons/display-type-condensed.svg'); - background-repeat: no-repeat; - background-position: center 0; - background-size: 150%; +/* first column */ +#layout-builder-modal .grouped-items .fieldset--group { + flex: 1 0 52.5%; } -/* Directory */ -.views-basic--view-mode input[value="directory"] + label { - background-image: url('../icons/display-type-directory.svg'); - background-repeat: no-repeat; - background-position: center 1rem; - background-size: 120%; +#layout-builder-modal + .grouped-items + .fieldset--group + .fieldset__wrapper--group + .form-boolean-group { + display: flex; + flex-direction: row; + gap: 1rem; + width: 100%; +} + +/* second column */ +#layout-builder-modal .grouped-items #edit-view-mode { + display: flex; + flex: 1 auto; + width: 100%; +} + +#layout-builder-modal .grouped-items #edit-view-mode .fieldset--group { + flex: 1 auto; +} + +#layout-builder-modal + .grouped-items + #edit-view-mode + .fieldset--group + .fieldset__wrapper--group + .glb-form-type--radio + label { + width: 170px; + height: 150px; } diff --git a/web/profiles/custom/yalesites_profile/modules/custom/ys_views_basic/src/Plugin/Field/FieldWidget/ViewsBasicDefaultWidget.php b/web/profiles/custom/yalesites_profile/modules/custom/ys_views_basic/src/Plugin/Field/FieldWidget/ViewsBasicDefaultWidget.php index 0f2605d626..3101d5a2d2 100644 --- a/web/profiles/custom/yalesites_profile/modules/custom/ys_views_basic/src/Plugin/Field/FieldWidget/ViewsBasicDefaultWidget.php +++ b/web/profiles/custom/yalesites_profile/modules/custom/ys_views_basic/src/Plugin/Field/FieldWidget/ViewsBasicDefaultWidget.php @@ -126,6 +126,7 @@ public function formElement( 'class' => [ 'views-basic--group-user-selection', ], + 'data-drupal-ck-style-fence' => '', ], '#weight' => 10, ]; diff --git a/web/sites/default/services.yml b/web/sites/default/services.yml old mode 100755 new mode 100644