drupal-eca-recipe/eca_lib_0029
最新稳定版本:3.3.3
Composer 安装命令:
composer require drupal-eca-recipe/eca_lib_0029
包简介
Add role to inserted or updated user
README 文档
README
ID: eca_lib_0029
This model demonstrates how to add a role to an inserted or updated user entity. There are actually 3 potential ways of doing this, only 1 of them being recommended. The recorded session (see link below) shows the issues you can run into when choosing one of the other options and it may become transparent, why the third option is the best of the available ones.
The creation of this module was recorded and the video with additional explanations can be watched here.
Installation
## Import recipe
composer require drupal-eca-recipe/eca_lib_0029
# 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_0029
# Rebuilding caches is optional, sometimes required:
drush cr
统计信息
- 总下载量: 96
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-05-25