function hook_social_auth_extra_user_presave in Open Social 8.6
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_extra/social_auth_extra.api.php \hook_social_auth_extra_user_presave()
- 8 modules/custom/social_auth_extra/social_auth_extra.api.php \hook_social_auth_extra_user_presave()
- 8.2 modules/custom/social_auth_extra/social_auth_extra.api.php \hook_social_auth_extra_user_presave()
- 8.3 modules/custom/social_auth_extra/social_auth_extra.api.php \hook_social_auth_extra_user_presave()
- 8.4 modules/custom/social_auth_extra/social_auth_extra.api.php \hook_social_auth_extra_user_presave()
- 8.5 modules/custom/social_auth_extra/social_auth_extra.api.php \hook_social_auth_extra_user_presave()
- 8.7 modules/custom/social_auth_extra/social_auth_extra.api.php \hook_social_auth_extra_user_presave()
- 8.8 modules/custom/social_auth_extra/social_auth_extra.api.php \hook_social_auth_extra_user_presave()
This hook will called before creating a new account.
For when a user is registering via social network.
Parameters
\Drupal\user\UserInterface $account: The Account.
\Drupal\social_auth_extra\AuthManagerInterface $auth_manager: The AuthManagerInterface.
\Drupal\social_auth_extra\UserManagerInterface $user_manager: The UserManagerInterface.
1 invocation of hook_social_auth_extra_user_presave()
- social_auth_extra_form_user_register_form_submit in modules/
custom/ social_auth_extra/ social_auth_extra.module - Custom submit function for user_register_form.
File
- modules/
custom/ social_auth_extra/ social_auth_extra.api.php, line 25 - Hooks specific to the Social Auth Extra module.
Code
function hook_social_auth_extra_user_presave(\Drupal\user\UserInterface $account, \Drupal\social_auth_extra\AuthManagerInterface $auth_manager, \Drupal\social_auth_extra\UserManagerInterface $user_manager) {
}