You are here

function social_event_update_8001 in Open Social 8.9

Same name and namespace in other branches
  1. 8 modules/social_features/social_event/social_event.install \social_event_update_8001()
  2. 8.2 modules/social_features/social_event/social_event.install \social_event_update_8001()
  3. 8.3 modules/social_features/social_event/social_event.install \social_event_update_8001()
  4. 8.4 modules/social_features/social_event/social_event.install \social_event_update_8001()
  5. 8.5 modules/social_features/social_event/social_event.install \social_event_update_8001()
  6. 8.6 modules/social_features/social_event/social_event.install \social_event_update_8001()
  7. 8.7 modules/social_features/social_event/social_event.install \social_event_update_8001()
  8. 8.8 modules/social_features/social_event/social_event.install \social_event_update_8001()
  9. 10.3.x modules/social_features/social_event/social_event.install \social_event_update_8001()
  10. 10.0.x modules/social_features/social_event/social_event.install \social_event_update_8001()
  11. 10.1.x modules/social_features/social_event/social_event.install \social_event_update_8001()
  12. 10.2.x modules/social_features/social_event/social_event.install \social_event_update_8001()

Enable event enrolling of open groups for not member.

File

modules/social_features/social_event/social_event.install, line 138
Install, update and uninstall functions for the social_event module.

Code

function social_event_update_8001() {
  \Drupal::configFactory()
    ->getEditable('social_event.settings')
    ->set('enroll', [])
    ->save();
}