定制 drupal-eca-recipe/eca_lib_0007 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

drupal-eca-recipe/eca_lib_0007

最新稳定版本:3.2.4

Composer 安装命令:

composer require drupal-eca-recipe/eca_lib_0007

包简介

ECA Feature Demo

README 文档

README

ID: eca_lib_0007

This model demonstrates a number of smart features around user accounts:

  1. When a user registers themselves or gets created by an existing user, then all existing users with the admin role get informed by email. If the current user has the admin role, a message also get displayed with a link to the mailhog application to review the emails.
  2. When a user logs in, a number of actions applies: depending on their role, different redirect destinations will be used after login. Also, the assigment of the internal user role gets executed, see below.
  3. When a user gets updated, the assigment of the internal user role also gets executed.

The assignment of the internal user role assigns that role to the current user if their email domain contains @example.com and removes it otherwise. It does that only if the situation had changed and also displays an according message on screen.

Installation

## Import recipe
composer require drupal-eca-recipe/eca_lib_0007

# Apply recipe with Drush (requires version 13 or later):
drush recipe ../recipes/eca_lib_0007

# Apply recipe without Drush:
cd web && php core/scripts/drupal recipe ../recipes/eca_lib_0007

# Rebuilding caches is optional, sometimes required:
drush cr

统计信息

  • 总下载量: 319
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2024-05-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固