function _social_auth_extra_help_text_config_submit in Open Social 8.6
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_extra/social_auth_extra.module \_social_auth_extra_help_text_config_submit()
- 8.3 modules/custom/social_auth_extra/social_auth_extra.module \_social_auth_extra_help_text_config_submit()
- 8.4 modules/custom/social_auth_extra/social_auth_extra.module \_social_auth_extra_help_text_config_submit()
- 8.5 modules/custom/social_auth_extra/social_auth_extra.module \_social_auth_extra_help_text_config_submit()
- 8.7 modules/custom/social_auth_extra/social_auth_extra.module \_social_auth_extra_help_text_config_submit()
- 8.8 modules/custom/social_auth_extra/social_auth_extra.module \_social_auth_extra_help_text_config_submit()
Stores the help texts for the social_auth_extra module.
1 call to _social_auth_extra_help_text_config_submit()
- social_auth_extra_form_user_admin_settings_submit in modules/
custom/ social_auth_extra/ social_auth_extra.module - Custom submit function for user_admin_settings().
File
- modules/
custom/ social_auth_extra/ social_auth_extra.module, line 429 - Contains social_auth_extra.module.
Code
function _social_auth_extra_help_text_config_submit($form, FormStateInterface $form_state) {
$config = \Drupal::configFactory()
->getEditable('social_auth_extra.settings');
$config
->set('social_signup_help', $form_state
->getValue("social_signup_help"));
$config
->set('social_login_help', $form_state
->getValue("social_login_help"));
$config
->save();
}