You are here

function social_group_update_8904 in Open Social 10.0.x

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_group/social_group.install \social_group_update_8904()
  2. 10.1.x modules/social_features/social_group/social_group.install \social_group_update_8904()
  3. 10.2.x modules/social_features/social_group/social_group.install \social_group_update_8904()

Make sure flexible group, group type is not required by default.

File

modules/social_features/social_group/social_group.install, line 598
Install, update and uninstall functions for the social_group module.

Code

function social_group_update_8904() {
  $config = \Drupal::configFactory()
    ->getEditable('social_group.settings');
  $config
    ->set('social_group_type_required', FALSE)
    ->save();
}