You are here

function social_event_an_enroll_update_8004 in Open Social 8.9

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

Update description and label.

File

modules/social_features/social_event/modules/social_event_an_enroll/social_event_an_enroll.install, line 136
Install, update functions for the social_event_an_enroll module.

Code

function social_event_an_enroll_update_8004() {

  /** @var \Drupal\update_helper\Updater $updateHelper */
  $updateHelper = \Drupal::service('update_helper.updater');

  // Execute configuration update definitions with logging of success.
  $updateHelper
    ->executeUpdate('social_event_an_enroll', 'social_event_an_enroll_update_8004');

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