You are here

function social_profile_update_10201 in Open Social 10.3.x

Same name and namespace in other branches
  1. 10.2.x modules/social_features/social_profile/social_profile.install \social_profile_update_10201()

Update profile form labels.

File

modules/social_features/social_profile/social_profile.install, line 521
Install, update and uninstall functions for the social_profile module.

Code

function social_profile_update_10201() {

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

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

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