drupal-eca-recipe/eca_lib_0018
最新稳定版本:3.1.3
Composer 安装命令:
composer require drupal-eca-recipe/eca_lib_0018
包简介
Keep 2 fields in sync
README 文档
README
ID: eca_lib_0018
This model demonstrates how a text field in a user entity can be kept in sync with a similar field in an associated profile entity. This works in both directions. Regardless which of the entities gets updated, the other one will be updated automatically as well.
Without paying attention, this could lead into an infinite loop. Therefore, the related entity only gets updated if the field values are not the same already.
The creation of that model has been recorded: Watch the video
Installation
## Import recipe
composer require drupal-eca-recipe/eca_lib_0018
# 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_0018
# Rebuilding caches is optional, sometimes required:
drush cr
统计信息
- 总下载量: 57
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-06-06