定制 drupal-code-builder/drupal-code-builder-drush 二次开发

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

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

drupal-code-builder/drupal-code-builder-drush

最新稳定版本:10.0.1

Composer 安装命令:

composer require drupal-code-builder/drupal-code-builder-drush

包简介

Provides Drush commands for generating Drupal code using Drupal Code Builder.

README 文档

README

This is a set of Drush commands for generating code with the Drupal Code Builder library (https://github.com/drupal-code-builder/drupal-code-builder).

Installation

Install this command with Composer:

composer require drupal-code-builder/drupal-code-builder-drush

Setup

Once this is installed, do drush cb:update. This detects hooks, services, and plugin types in your Drupal site's codebase and analyses them for use with Drupal Code Builder.

Usage

The following commands are available:

  • drush cb:list: Lists all the hooks, services, and plugins that Drupal Code Builder has detected in your Drupal site's codebase.
  • drush cb:update: Updates the stored definitions of Drupal hooks, services and plugin types.
  • drush cb:module: Creates a module, or adds components to one.

A note on history

Commits in this repository older than 2017-08-22 are extracted from other repositories that originally were the home of this command file: the drupal.org module_builder project, and a drush fork. They were extracted using git filter-branch, and reconstituted into a single history with git graft and git filter-branch.

Version numbers start at 8.0.0 because the initial numbering scheme matched with Drush major version numbers, in the pre-Composer, pre-Semver era.

统计信息

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

GitHub 信息

  • Stars: 13
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2017-09-13