function social_event_update_8904 in Open Social 10.0.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_event/social_event.install \social_event_update_8904()
- 10.3.x modules/social_features/social_event/social_event.install \social_event_update_8904()
- 10.1.x modules/social_features/social_event/social_event.install \social_event_update_8904()
- 10.2.x modules/social_features/social_event/social_event.install \social_event_update_8904()
Update user's events views.
File
- modules/
social_features/ social_event/ social_event.install, line 1612 - Install, update and uninstall functions for the social_event module.
Code
function social_event_update_8904() {
/** @var \Drupal\update_helper\Updater $updateHelper */
$updateHelper = \Drupal::service('update_helper.updater');
// Execute configuration update definitions with logging of success.
$updateHelper
->executeUpdate('social_event', 'social_event_update_8904');
// Update views configuration.
_social_event_views_update('views.view.events', 'events_overview');
}