定制 vardot/drupal-core-patches 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vardot/drupal-core-patches

Composer 安装命令:

composer require vardot/drupal-core-patches

包简介

Curated Drupal core patches used by Varbase, one branch per Drupal core major.minor version.

README 文档

README

Why this package: vardot/drupal-core-patches is required by vardot/varbase-patches so that Varbase can upgrade to the latest Drupal core versions. It maintains the right set of working Drupal core patches per Drupal core version (one branch per major.minor), so each Varbase line automatically gets the patches that apply to its Drupal core.

Curated Drupal core patches used by Varbase, delivered as a Composer metapackage with one git branch per Drupal core MAJOR.MINOR version (e.g. 11.3.x, 10.6.x). Consumed by vardot/varbase-patches so that core patches are versioned and resolved independently of the Varbase line.

  • Patches are declared under extra.patches."drupal/core" and applied by cweagans/composer-patches via the Varbase Patches plugin (which allowlists this package).
  • Each core-minor branch carries only the patches valid for that exact Drupal core minor and uses conflict: { "drupal/core": "<minor.0 || >=next.0" } to bind itself to that minor, so Composer always selects the release matching the installed core.
  • The actual .patch files live on the patches branch and are referenced by raw URL (the same model varbase-patches uses for its patch files).

Usage

composer require vardot/drupal-core-patches:~11.3.0

varbase-patches does this for you. To allow Composer to pick the release matching the site's core, it requires a range that spans the supported majors:

varbase-patches branch Drupal core requires
9.1.x, 9.2.x, 10.0.x ~10.6 vardot/drupal-core-patches: ~10 || ~11 || ~12
10.1.x, 11.0.x ~11.3 vardot/drupal-core-patches: ~11 || ~12

Branch per Drupal core major.minor

Drupal core Branch Patch count
~11.3 11.3.x 19
~10.6 10.6.x 17
(files) patches shared .patch file store

Add a new branch (e.g. 11.4.x) when supporting a new Drupal core minor — see docs/adding-a-core-version.md.

Documentation

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-06-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固