定制 ossobuffo/drush-admin-utils 二次开发

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

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

ossobuffo/drush-admin-utils

最新稳定版本:v0.0.4

Composer 安装命令:

composer require ossobuffo/drush-admin-utils

包简介

Low-bootlevel Drush commands to deal with Drupal caches and related issues.

README 文档

README

These commands are not alias-aware, and thus can only be used locally. This is by design, because they run at a low boot-level. Thus, all these commands may be used to hack under the hood of a non-bootable Drupal install.

Truncate caches

Usage: drush dau:cache-truncate

Truncates all MySQL cache tables.

Clean up system schema

Usage: drush dau:schema-clean

Removes system.schema entries for any modules or profiles that are not enabled.

Forcibly uninstall modules

Usage: drush dau:module-uninstall-force ‹module›

Forcibly removes a module from core.extension config, whether or not the module’s code is currently available. Any related system.schema value is also removed.

DANGER WILL ROBINSON! No dependency checking and no further schema or config cleanup is performed. Use with extreme care!

Forcibly uninstall themes

Usage: drush dau:theme-uninstall-force ‹theme›

Forcibly removes a theme from core.extension config, whether or not the theme currently exists.

As with dau:module-uninstall-force, no dependency checking or further schema/config cleanup is performed. Use with extreme care!

Switch profiles

Usage: drush dau:profile-switch ‹profile›

Switches to a new profile. Inspiration for this command came from Drupal’s contrib Profile switcher module.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2023-09-25