function _social_event_enroll_group_types in Open Social 8
Same name and namespace in other branches
- 8.2 modules/social_features/social_event/social_event.install \_social_event_enroll_group_types()
- 8.3 modules/social_features/social_event/social_event.install \_social_event_enroll_group_types()
- 8.4 modules/social_features/social_event/social_event.install \_social_event_enroll_group_types()
- 8.5 modules/social_features/social_event/social_event.install \_social_event_enroll_group_types()
- 8.6 modules/social_features/social_event/social_event.install \_social_event_enroll_group_types()
- 8.7 modules/social_features/social_event/social_event.install \_social_event_enroll_group_types()
Allow enrolling to an event of an open group for not a member.
2 calls to _social_event_enroll_group_types()
- social_event_install in modules/
social_features/ social_event/ social_event.install - Implements hook_install().
- social_event_update_8001 in modules/
social_features/ social_event/ social_event.install - Enable event enrolling of open groups for not member.
File
- modules/
social_features/ social_event/ social_event.install, line 122 - Install, update and uninstall functions for the social_event module.
Code
function _social_event_enroll_group_types() {
\Drupal::configFactory()
->getEditable('social_event.settings')
->set('enroll', [])
->save();
}