rusa / rusa_user
Ruser user module for Drupal
Installs: 84
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:drupal-custom-module
- dev-master
- 11.x-dev
- v1.1.1
- v1.1.0
- v1.0.19
- v1.0.18
- v1.0.17
- v1.0.16
- v1.0.15
- v1.0.14
- v1.0.13
- v1.0.12
- v1.0.11
- v1.0.10
- v1.0.9
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-bz1050
- dev-bz1047
- dev-results-link
- dev-bugfix-951
- dev-test-branch2
- dev-test-branch3
- dev-user-sync
- dev-d9updates
- dev-dev-1.2
- dev-dev-1.1
This package is auto-updated.
Last update: 2025-03-29 01:10:24 UTC
README
Drupal custom module for rusa.org
This module provides a framework for creating and managing Drupal users from RUSA members.
src/Form/RusaUserForm replaces the default Drupal account creation form. accounts are created using RUSA member data
src/Plugin/Menu/RusaAccountMenu changes the login link to Member Login
src/Routing/RoutSubscriber alters the user.register route to point to our RusaUserForm
src/RusaUserManager syncronizes certqin data from GDBM to Drupal called from rusa_user.module at login and cron
src/Form/RusaUserSettingsForm provides a settings form wth configurable message fields saved to config as rusa_user.settings
rusa_user.links.menu.yml adds the settings form to the Configuration -> People menu
rusa_user.routing.yml defines routes
rusa_user.module numerous old style hooks that might not be the best way to do it function rusa_user_help($route_name, RouteMatchInterface $route_match) { function rusa_user_entity_presave(EntityInterface $entity) { function rusa_user_form_user_login_form_alter(&$form, FormStateInterface $form_state) { function rusa_user_user_login($account) { function _rusa_user_user_login_form_validate(&$form, FormStateInterface $form_state) { function rusa_user_mail($key, &$message, $params) { function rusa_user_menu_links_discovered_alter(&$links) { function rusa_user_cron() {
@To-do These can be removed src/Controller/RusaUserController src/EventSubscriber/RusaUserEventSubscriber
also must remove route to the controller
Move the rusa_user_user_login_form_validate code from rusa_user.module to RusaUserManager