You are here

function social_user_update_8006 in Open Social 10.1.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_user/social_user.install \social_user_update_8006()
  2. 8.3 modules/social_features/social_user/social_user.install \social_user_update_8006()
  3. 8.4 modules/social_features/social_user/social_user.install \social_user_update_8006()
  4. 8.5 modules/social_features/social_user/social_user.install \social_user_update_8006()
  5. 8.6 modules/social_features/social_user/social_user.install \social_user_update_8006()
  6. 8.7 modules/social_features/social_user/social_user.install \social_user_update_8006()
  7. 8.8 modules/social_features/social_user/social_user.install \social_user_update_8006()
  8. 10.3.x modules/social_features/social_user/social_user.install \social_user_update_8006()
  9. 10.0.x modules/social_features/social_user/social_user.install \social_user_update_8006()
  10. 10.2.x modules/social_features/social_user/social_user.install \social_user_update_8006()

Create the default configuration for the social_user help texts.

File

modules/social_features/social_user/social_user.install, line 87
Install, update and uninstall functions for the social_user module.

Code

function social_user_update_8006() {
  $config = [
    "langcode" => "en",
    "signup_help" => "A welcome message with further instructions will be sent to your email address after you successfully enter your email address and a username.",
    "login_help" => "",
  ];
  \Drupal::configFactory()
    ->getEditable('social_user.settings')
    ->setData($config)
    ->save();
}