function social_auth_extra_form_social_user_login_form_alter in Open Social 8.4
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
- 8 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
- 8.2 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
- 8.3 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
- 8.5 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
- 8.6 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
- 8.7 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
- 8.8 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
Implements hook_form_FORM_ID_alter().
File
- modules/
custom/ social_auth_extra/ social_auth_extra.module, line 71 - Contains social_auth_extra.module.
Code
function social_auth_extra_form_social_user_login_form_alter(&$form, FormStateInterface $form_state, $form_id) {
if ($social_buttons = _social_auth_extra_get_buttons('login')) {
$form += $social_buttons;
}
}