drupal-eca-recipe/eca_lib_0016
最新稳定版本:3.1.4
Composer 安装命令:
composer require drupal-eca-recipe/eca_lib_0016
包简介
Asynchronous views export
README 文档
README
ID: eca_lib_0016
This model provides an endpoint /eca/export/users which can be published as a menu item or a link. When requested, it does this:
- Check access and only allow users with the administror role to cal that endpoint
- Enqueue a task called
export-usersand forward the email address of the current user - Display a message to the user and redirect them back to the page where they came from
After that, the task is being queued and will be executed by the next cron of the Drupal site. This will then execute the view and export the result into a csv file. Finally, an email will be sent to the user who originally requested the export together with the link from where they can download the export.
Building this model has been recorded: watch video
Installation
## Import recipe
composer require drupal-eca-recipe/eca_lib_0016
# Apply recipe with Drush (requires version 13 or later):
drush recipe ../recipes/{{ rawid }}
# Apply recipe without Drush:
cd web && php core/scripts/drupal recipe ../recipes/eca_lib_0016
# Rebuilding caches is optional, sometimes required:
drush cr
统计信息
- 总下载量: 54
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-06-06