You are here

function social_auth_extra_form_social_user_login_form_alter in Open Social 8.4

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
  2. 8 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
  3. 8.2 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
  4. 8.3 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
  5. 8.5 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
  6. 8.6 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
  7. 8.7 modules/custom/social_auth_extra/social_auth_extra.module \social_auth_extra_form_social_user_login_form_alter()
  8. 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;
  }
}