定制 thinkshout/drupal-integrations 二次开发

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

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

thinkshout/drupal-integrations

最新稳定版本:3.2.2

Composer 安装命令:

composer create-project thinkshout/drupal-integrations

包简介

Add this project to any Drupal distribution based on drupal/core-composer-scaffold to get some TS reusable code.

README 文档

README

Add this project to any Drupal distribution based on drupal/core-composer-scaffold to enable it for use with ThinkShout.

This project enables the following useful things:

  • Behat testing infrastructure (see assets/behat/README.md)
  • visual regression testing infrastructure (see assets/.ci/test/visual-regression/README.md)
  • github issue templates (see assets/.github/)
  • config_split (see assets/config-local) for local development to enable:
    • config_suite (automatic configuration export)
    • stage_file_proxy (automatic image/file downloads from live site instance)
  • site settings customizations (see assets/web/sites/default/):
    • settings.php customizations:
      • pantheon settings file compatibility (includes)
      • includes settings.ts.php and settings.local.php if present
    • settings.ts.php customizations:
      • Pull in PRESSFLOW_SETTINGS from robo configure using phpdotenv for Drupal "hash_salt"
      • Enabling of the "local" config_split settings if not on Pantheon
      • Enforces use of https on Pantheon instances of the site
      • includes a "settings.dev.php" file if present
    • services.dev.yml
      • enables debugging helpers for twig:
        • Automatically recompiles changes so you don't have to clear cache
        • Includes the template hints in html comments
        • Enables caching, the first step in setting up debugging for twig files.

Enabling this project

This project must be enabled in the top-level composer.json file, or it will be ignored and will not perform any of its functions.

Add the "repositories" and "extra" entries below to composer.json then run composer require thinkshout/drupal-integrations ^3.0. (You'll end up with the "require" entry automatically.)

{
    ...
    "require": {
        "thinkshout/drupal-integrations": "^3.0"
    },
    ...
    "extra": {
        "drupal-scaffold": {
            "allowed-packages": [
                "thinkshout/drupal-integrations"
            ]
        }
    }
}

Altering scaffolding

If you need for any reason to remove a file that is scaffolded by this project, you'll need to specifically call that out in your composer.json, or the file will continue to be pulled in. For example, if you aren't using Config Suite on your site, you can do this to prevent its configuration file from being scaffolded:

"drupal-scaffold": {
    "file-mapping": {
      "[project-root]/config-local/config_suite.settings.yml": false
    }
  }
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固