risley / risley_export
根据 Risley 格式将 drupalsettings 导出为 Excel 文件。
dev-main
2024-07-29 04:02 UTC
Requires
- composer/installers: ^2.2
- drupal/core: ^10
- drupal/webform: ^6.0
- phpoffice/phpspreadsheet: ^2.0
This package is auto-updated.
Last update: 2024-09-29 04:26:04 UTC
README
模块使用方法
- 从 Dropbox 下载 Localization.xls 并保存到 Localization/文件夹中。
- 启用模块。
- 执行
make drush re:e。
脚本使用方法:
- 从 Dropbox 下载 Localization.xls 并保存到 Localization/文件夹中。
- 执行
make sh php。 - 执行
drush scr docroot/modules/custom/risley_export/scripts/export.php。
首次调用时,将消耗相当数量的内存。如果未下载 Localization.xls,可能会超出内存限制。只需持续执行直到成功即可。
注意事项:在某些情况下,网站的 composer.json 可能未定义 drupal-custom-module 的安装路径。如果没有,则需要添加。
"installer-paths": [
// ...他のパス
"docroot/modules/custom/{$name}": [
"type:drupal-custom-module"
],
]