You are here

function social_topic_update_10303 in Open Social 10.3.x

Update the configs in the database in accordance with the newest schema.

File

modules/social_features/social_topic/social_topic.install, line 457
Install, update and uninstall functions for the social_topic module.

Code

function social_topic_update_10303() {

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

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

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