keyboardcowboy/drush-diagnostics

获取各种诊断报告,以帮助您排查和优化您的网站。

安装: 693

依赖: 0

建议: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

类型:drupal-drush

dev-master 2015-05-07 20:00 UTC

This package is not auto-updated.

Last update: 2024-09-14 17:48:11 UTC


README

Drush 插件,用于生成 Drupal 网站的诊断报告。

字段报告

drush diag-field-use-report (dfur)

生成一个报告,列出所有字段及其每字段的记录数量。

选项

--instance : 按字段实例计数记录,而不是按字段分组。

--cols : 从字段配置表中添加列。(例如,使用 --cols=type 获取字段类型)

支持输出格式

示例

  'drush dfur' => 'List all fields and number of records for each.',
  'drush dfur --instance' => 'List all fields by entity type and bundle and number of records per instance.'
  'drush dfur --cols=type' => 'Add the "type" col from the field_config table to get the field type.'