You are here

function social_event_update_8810 in Open Social 10.3.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_event/social_event.install \social_event_update_8810()
  2. 10.0.x modules/social_features/social_event/social_event.install \social_event_update_8810()
  3. 10.1.x modules/social_features/social_event/social_event.install \social_event_update_8810()
  4. 10.2.x modules/social_features/social_event/social_event.install \social_event_update_8810()

Adds the enrollment method field as filter on the community events page.

File

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

Code

function social_event_update_8810() {

  /** @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_8810');

  // Output logged messages to related channel of update execution.
  return $updateHelper
    ->logger()
    ->output();
}