定制 bluecadet/bluecadet_utilities 二次开发

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

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

bluecadet/bluecadet_utilities

Composer 安装命令:

composer require bluecadet/bluecadet_utilities

包简介

Adds utilities to aide in development

README 文档

README

Versions

1.x Branch

Completely old and outdated... do not use.

2.x Branch

< Drupal 8.9 compatible

3.x Branch

Drupal 8.9 and Drupal 9 Compatible.

  • Removed all code related to Paragraphs preview
  • Removed all code related to preview Display modes of nodes. This should now all be included in Core Previews.

4.0.x Branch

Drupal 9 Compatible. Due to twig file loading easiest to keep separate branches for D9 and D10.

4.1.x Branch

Drupal 10 Compatible. Due to twig file loading easiest to keep separate branches for D9 and D10.

4.2.x Branch

Drupal 10 & 11 Compatible.

Includes

  • Theme for formatting svg files
  • Transliteration for file uploads (Transliteration Module as Source)
  • Enable WYSIWYG on textfield fields
  • Image Style generator, based on aspect ratios.
  • text string search for searching html strings in text fields (eg, search for a specific link or class name being used)

Submodules

  • bc_display_title: Provide functionality around the use of the display title field we normally use
  • bc_sandbox: provide an easy page to play with

Not using Composer

If you are not using composer, you can delete all unneeded files.

  • composer.json

Using Composer

If you are using composer to manage Drupal modules, make sure you add custom location for this module to be downloaded to. You must add the installer types line as well as the location for the module.

  ...
  "installer-types": ["custom-drupal-module"],
  "installer-paths": {
    "web/core": ["type:drupal-core"],
    "web/modules/contrib/{$name}": ["type:drupal-module"],
    "web/modules/custom/{$name}": ["type:custom-drupal-module"],
    "web/profiles/contrib/{$name}": ["type:drupal-profile"],
    "web/themes/contrib/{$name}": ["type:drupal-theme"],
    "drush/contrib/{$name}": ["type:drupal-drush"]
  },
  ...

Changelog

  • Adding in basic text search.

5.0.0

  • Breaking: Removed FractalCompoundHandlesLoader and the bluecadet_utilities.loader.fractal_compound_handles Twig loader service. Sites relying on Fractal-style #handle or @namespace/component syntax in Twig templates must migrate to an alternative (e.g. Drupal core SDC or the components contrib module).

4.2.x

  • Enforcing Drupal 11 compatibility.
  • Bug fixes for simple-formatter.js
  • Update bldr to 1.1.0
  • Add in schema definitions for widget and formatter settings

4.1.1

  • Updating dev tools. Drupal module not really effected.
  • Update SimpleFormatWidget to handle text fields and the “format” subfield, so it doesn’t store null in DB

4.1.0

  • D10 compatibility
  • Updated twig handler for D10

4.0.3

  • Updating dev tools. Drupal module not really effected.

4.0.2

  • Adding in utilities for github/building/composer etc.

4.0.1

  • Added in Image Style generator.
  • Added Simple Format Formatter so we can have min html in a text field.
  • Updated simple Format formatter styles for buttons in Claro
  • Added formatter settings if you want to run the text through a system text formatter.

8.x-3.0.3

  • Update FractalCompoundHandlesLoader class to use new components API
  • Fix multiple uses of the simple formatter

8.x-3.0.2

  • Updated dependencies so we can use Composer v2

8.x-3.0.1

  • Added in styles for Claro Admin theme.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2017-08-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固