You are here

function social_event_update_8918 in Open Social 10.2.x

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_event/social_event.install \social_event_update_8918()

Set default configs for event.

File

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

Code

function social_event_update_8918() {
  \Drupal::configFactory()
    ->getEditable('social_event.settings')
    ->set('disable_event_enroll', FALSE)
    ->save();
}