{
  "name": "vardot/varbase-patches",
  "description": "List of needed patches for Varbase used packages with Composer Patches.",
  "keywords": ["composer", "patches", "composer patches", "varbase", "varbase patches", "drupal", "drupal patches"],
  "license": "GPL-2.0-or-later",
  "authors": [
    {
      "name": "Vardot",
      "homepage": "https://www.drupal.org/vardot",
      "role": "Maintainer"
    }
  ],
  "require": {
    "drupal/core": "~11.2.0",
    "composer/installers": "~2",
    "oomphinc/composer-installers-extender": "~2",
    "cweagans/composer-patches": "~1 || ~2",
    "vardot/entity-definition-update-manager": "~1",
    "vardot/module-installer-factory": "~1"
  },
  "extra": {
    "enable-patching": true,
    "composer-exit-on-patch-failure": true,
    "patchLevel": {
      "drupal/core": "-p2"
    },
    "patches": {
      "drupal/core": {
        "Issue #2893892: Fixed Warning Invalid argument supplied for foreach() in Drupal":
        "https://www.drupal.org/files/issues/2018-12-10/core--getDerivatives-Invalid-argument-foreach--2893892-11-d8.patch",
        "Issue #3044656: Add a helper method to strip subdirectories from URL paths":
        "https://www.drupal.org/files/issues/2019-03-31/3044656-2.patch",
        "Issue #3101231: Fix multilingual site's layout edit context issue with TypeError: Argument 1 passed to UrlHelper::buildQuery() must be of the type array, null given":
        "https://www.drupal.org/files/issues/2019-12-19/3101231-19.patch",
        "Issue #2741877: Nested modals don't work: opening a modal from a modal closes the original":
        "https://www.drupal.org/files/issues/2025-06-24/drupal-core--2025-06-24--2741877--mr-8105.patch",
        "Issue #3226791: Fix Validation error saving untranslatable Media reference field":
        "https://www.drupal.org/files/issues/2021-08-04/media_required_validation-3226791-2.patch",
        "Issue #3272720: Fix PHP8.1+ Deprecated function: hash(): Passing null to parameter #2 ($data) of type string is deprecated in generateFieldTableName":
        "https://www.drupal.org/files/issues/2022-07-21/3272720-6.patch",
        "Issue #3326684: Fix PHP8.1+ Deprecated function: mb_strtolower(): Passing null to parameter #1 ($string) of type string is deprecated":
        "https://www.drupal.org/files/issues/2023-11-21/3199.patch",
        "Issue #3302838: Fix PHP8.1+ Querying with NULL values results in warning mb_strtolower(): Passing null to parameter is deprecated":
        "https://www.drupal.org/files/issues/2023-07-05/3302838-38.patch",
        "Issue #3049332: Fix Log error + visual warning for missing or broken block":
        "https://www.drupal.org/files/issues/2025-07-09/drupal-core--2025-07-09--3049332--mr-12460.patch",
        "Issue #3080606: Reorder Layout Builder sections":
        "https://www.drupal.org/files/issues/2024-06-13/3080606-121.patch",
        "Issue #3456176: 11.2 upgrade now missing status-message theme suggestions":
        "https://www.drupal.org/files/issues/2025-06-20/3456176-138-missing-status-messages-theme-suggestions.patch",
        "Issue #3457431: Saving text format generates validation warnings":
        "https://www.drupal.org/files/issues/2024-07-01/drupal-core--2024-07-01--3457431--mr-8608.patch",
        "Issue #3459881: Fix TypeError: implode(): Argument #1 ($array) must be of type array, string given in implode() (line 537 of core/lib/Drupal/Core/Field/WidgetBase.php)":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/drupal-core--2025-02-17--3459881--mr-8702.patch",
        "Issue #3431330: Add Action Method to Add a button plugin and settings into the Active toolbar in editor":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/drupal-core--2025-02-18--3431330--drupal-11-1.patch",
        "Issue #3465033: Fix not saving addItemToToolbar recipe action for divider | (vertical separator) or wrapping - items to CKEditor 5":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/drupal-core--2024-08-01--3465033--mr-9003.patch",
        "Issue #3496329: Fix not loading CKEditor 5 and Tour with BigPipe enabled after Drupal 10.4 update":
        "https://www.drupal.org/files/issues/2025-01-03/drupal-core--2025-01-02--3496329-32--mr-10753.patch",
        "Issue #3352384: Add Exception for TypeError Argument must be String in Drupal Component Utility Html escape{}":
        "https://www.drupal.org/files/issues/2024-11-07/TypeError_htmlspecialchars_ArgumentNustBeTypeString_ArrayGiven-3352384-62.patch",
        "Issue #3415961: [drupalMedia] Using the Insert Media button causes the window to scroll to the bottom of the page":
        "https://www.drupal.org/files/issues/2025-06-10/drupal-3415961-19.patch",
        "Issue #3543210: Quick Edit Save Via Contextual Links Redirects to 404 Page":
        "https://www.drupal.org/files/issues/2025-08-26/drupal-core-3543210-7.patch",
        "Issue #3538500: Fix block plugin not found warnings during Drush installation of Varbase":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/drupal-core--2025-08-30--3538500--drupal11x02x.patch",
        "Issue 3544608: Fix Media Library: Selected media lost after pager navigation prevents insertion":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/drupal-core--2025-09-03--mr-13141.patch"
      },
      "drupal/default_content": {
        "Issue #3160146: Add Layout Builder Normalizer and Denormalize":
        "https://www.drupal.org/files/issues/2024-12-02/default_content--2024-12-02--3160146--mr-15.patch"
      },
      "drupal/gin": {
        "Issue #3325263: Fix user.data ServiceNotFoundException when using Gin as distribution installer theme":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/gin--2024-11-12--3325263.patch",
        "Issue #3398040: Fix issue with changing between responsive views and Gin Toolbar over menus":
        "https://www.drupal.org/files/issues/2023-10-31/3398040-8.patch"
      },
      "drupal/persistent_login": {
        "Issue #2899530 by josebc: Provide a permission for users to see Persistent Logins tab in their profiles":
        "https://www.drupal.org/files/issues/persistent_login-user_task_permission-2899530-6.patch"
      },
      "drupal/update_helper": {
        "Issue #3024165: [PATCH] Enhancements, Better messages for the unable to apply updates, drush command and removed the Mark all updates as successful on install":
        "https://www.drupal.org/files/issues/2022-06-05/3024165-55.patch"
      },
      "drupal/diff": {
        "Issue #3348096: Fix Entity queries must explicitly set whether the query should be access checked or not in Diff":
        "https://www.drupal.org/files/issues/2023-03-15/3348096-2.patch"
      },
      "drupal/inline_entity_form": {
        "Issue #2913571: Add a setting to enable/disable inline editing for existing entities":
        "https://www.drupal.org/files/issues/2024-12-27/inline_entity_form--2024-12-27--2913571--mr-127.patch",
        "Issue #3136514: IEF complex widget: Re-ordering / weight sometimes not updated":
        "https://www.drupal.org/files/issues/2025-01-04/inline_entity_form--2025-01-04--mr-126.patch"
      },
      "drupal/entity_clone": {
        "Issue #3388460: Fatal error on cloning a menu link (D10 site)":
        "https://www.drupal.org/files/issues/2023-10-17/3388460-7.patch"
      },
      "drupal/rabbit_hole": {
        "Issue #3419073: Fix Return value must be of type bool fatal error":
        "https://www.drupal.org/files/issues/2024-02-04/rabbit_hole--2024-02-04--3419073-3.patch"
      },
      "drupal/cl_block": {
        "Issue #3365591: Fix TypeError: array_filter() when pressing Save configuration":
        "https://www.drupal.org/files/issues/2023-06-08/3365591-3.patch",
        "Issue #3367477: Fix Error: Call to undefined method getFilteredComponentTypes()":
        "https://www.drupal.org/files/issues/2023-06-18/3367477-11.patch"
      },
      "drupal/embed": {
        "Issue #3517882: The namespace of EmbedCKEditor5PluginBase does not respect PSR4":
        "https://www.drupal.org/files/issues/2025-06-30/embed--2025-06-30--3517882--mr-26.patch"
      },
      "drupal/entity_embed": {
        "Issue #3070343: Allow to add a Drupal core link with Link Widget for Image entities using Entity Embed Dialog in CKEditor":
        "https://www.drupal.org/files/issues/2023-11-02/entity-embed-add-link-image-entity-3070343-37.patch",
        "Issue #2679875: Inline Entity Form integration":
        "https://www.drupal.org/files/issues/2023-11-08/2679875-27.patch",
        "Issue #3531672:  Drupal 10.5/11.2 compatability (tooltip broken, cannot edit embedded entities)":
        "https://www.drupal.org/files/issues/2025-06-30/entity_embed--2025-06-30--3531672--mr-62.patch"
      },
      "drupal/focal_point": {
        "Issue #2906631: After changing focal point, image doesn't change until you click preview":
        "https://www.drupal.org/files/issues/2024-02-21/2906631-27.patch"
      },
      "drupal/bootstrap_styles": {
        "Issue #3282082: Support Bootstrap 5 on bootstrap_styles module":
        "https://www.drupal.org/files/issues/2022-06-14/Fix-support-bootstrap-5-on-bootstrap-styles-3282082-%233.patch"
      },
      "drupal/layout_library": {
        "Issue #3075067: Duplicate entry for key 'block_content_field__uuid__value'":
        "https://www.drupal.org/files/issues/2023-01-05/3075067-19.patch",
        "Issue #3273160: Support inline blocks in layout":
        "https://www.drupal.org/files/issues/2022-12-14/3273160-9.patch"
      },
      "drupal/layout_builder_blocks": {
        "Issue #3349066: Limit Layout Builder Blocks not to work in the dashboards route":
        "https://www.drupal.org/files/issues/2025-06-22/layout_builder_blocks--2025-06-22--3349066--mr-5.patch"
      },
      "drupal/paragraphs": {
        "Issue #2924774: Let Editors add/delete/clone paragraphs When [Editing a translation]":
        "https://www.drupal.org/files/issues/2018-06-03/2924774-29.patch",
        "Issue #3138609: Fixe Field group support broken":
        "https://www.drupal.org/files/issues/2020-06-03/3138609-24.patch",
        "Issue #3090200: Paragraph access check using incorrect revision of its parent, leading to issues editing and viewing paragraphs when content moderation is involved.":
        "https://www.drupal.org/files/issues/2023-01-31/3084934-13_combine_3090200-22-update_0.patch"
      },
      "drupal/paragraphs_previewer": {
        "Issue #2904917: Make paragraph previewer work with new UI/UX improvement patch":
        "https://www.drupal.org/files/issues/2019-02-20/2904917-8.patch"
      },
      "drupal/redirect": {
        "Issue #2879648: Redirects from aliased paths aren't triggered":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/redirect--2025-09-04--2879648--mr-109.patch",
        "Issue #3057250: Validation issue on adding url redirect":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/redirect--2025-09-04--3057250--mr-133.patch"
      },
      "drupal/layout_builder_perms": {
        "Issue #3502237: Fix type error in layout builder perms access manager logger channel factory with LoggerChannelFactoryInterface ":
        "https://www.drupal.org/files/issues/2025-01-25/layout_builder_perms--2025-01-25--3502237--mr-25.patch"
      },
      "drupal/cl_server": {
        "Issue #3456661: Update Drupal core to ^10.3 and ^11 and drop the use of the SDC experimental module":
        "https://www.drupal.org/files/issues/2024-06-25/cl_server--2024-06-25--3456661-9--mr-32.patch"
      },
      "drupal/node_edit_protection": {
        "Issue #3455823: Fix the warning issue that occurs when pressing the save submit button in the Gin Admin theme":
        "https://www.drupal.org/files/issues/2024-07-03/3455823-13-warning-popup-node-add-and-edit-save.patch"
      },
      "drupal/ds": {
        "Issue #3507312: Fix array_unshift() Error in ds_theme_registry_alter() when running Field Group pre-process before ds_entity_view":
        "https://www.drupal.org/files/issues/2025-02-18/ds--2025-02-18--3507312--mr-43.patch"
      },
      "drupal/social_auth_facebook": {
        "Issue #3507470: Fix fatal error for validateConfig() method signature mismatch":
        "https://www.drupal.org/files/issues/2025-02-18/social_auth_facebook--2025-02-18--3507470--mr-8.patch"
      },
      "drupal/social_auth_linkedin": {
        "Issue #3507495: Remove leftover reference to social_auth_linkedin.settings_form to fix Route Provider Error":
        "https://www.drupal.org/files/issues/2025-02-18/social_auth_linkedin--2025-02-18--3507495--mr-10.patch"
      },
      "drupal/jsonapi_extras": {
        "Issue #3508142: Fix installation error with JSON:API Extra in custom Drupal 11 profiles due to missing synthetic service `kernel`":
        "https://www.drupal.org/files/issues/2025-02-21/jsonapi_extras--2025-02-21--3508142--mr-65.patch"
      },
      "drupal/block_class": {
        "Issue #3493849: Argument #1 ($array) must be of type array, string given":
        "https://www.drupal.org/files/issues/2025-01-28/fix-array-merge-type-error-block-class-3493849-6.patch"
      },
      "drupal/ui_patterns": {
        "Issue #3496209: Add token replacement support to AttributesWidget using new centralized token and normalizer services from SourcePluginBase":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/ui_patterns--2025-10-01--3496209--mr-378.patch"
      },
      "drupal/dashboard": {
        "Issue #3528064: Add support for Layout Builder Restrictions":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/dashboard--2025-08-31--3528064--mr-63.patch"
      },
      "drupal/modeler_api": {
        "Issue #3537810: Fix Circular Reference by Removing Autowire and Minimizing Dependencies in modeler_api.service":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/modeler_api--2025-11-09--3537810--1-0-x--drupal11-2.patch"
      },
      "drupal/coffee": {
        "Issue #3535874: Add Navigation Top Bar integration for Coffee module in Drupal ~11.2.0 and Gin ~5.0":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/coffee--2025-07-30--3535874--mr-19.patch"
      },
      "drupal/entity": {
        "Issue #3532309: Fix Deprecation notice from DeleteAction class causes errors in ECA module":
        "https://www.drupal.org/files/issues/2025-06-25/entity-fix-deprecation.patch"
      },
      "drupal/access_unpublished": {
        "Issue #3421309: Fix Unable to save `Access Unpublished` settings form due to TypeError in Drupal Core Render Element::children()":
        "https://www.drupal.org/files/issues/2024-07-29/access_unpublished-n3421309-14.patch"
      },
      "drupal/dropzonejs": {
        "Issue #3542463: Fix TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in DropzoneJsUploadForm::validateUploadElement()":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/dropzonejs--2025-08-21--3542463--mr-24.patch"
      },
      "drupal/trash": {
        "Issue #3491947: Add support for taxonomy terms":
        "https://raw.githubusercontent.com/Vardot/varbase-patches/refs/heads/patches/trash--2025-10-02--3491947--mr-71.patch"
      },
      "drupal/scheduler_content_moderation_integration": {
        "Issue #3543642: Fix duplicates bundles for cleaner output":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/scheduler_content_moderation_integration--2025-08-30--3543642--mr-86.patch"
      },
      "drupal/views_bulk_edit": {
        "Issue #3544584: Change default Change method to Replace the current value when configuring Modify field values action":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/views_bulk_edit--2025-09-03--3544584--mr-44.patch"
      },
      "drupal/content_planner": {
        "Issue #3545519: Fix Prevent fatal error when entity cannot be loaded":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/content_planner--2025-09-08--3545519--mr-62.patch"
      },
      "drupal/webform": {
        "Issue #3556347: Fix WebformEntityStorageTrait::__get() declaration after Drupal 11.2.6":
        "https://raw.githubusercontent.com/vardot/varbase-patches/refs/heads/patches/webform--2025-11-06--3556347--mr-768.patch"
      }
    }
  }
}
