You are here

function social_topic_update_8904 in Open Social 10.0.x

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_topic/social_topic.install \social_topic_update_8904()
  2. 10.1.x modules/social_features/social_topic/social_topic.install \social_topic_update_8904()
  3. 10.2.x modules/social_features/social_topic/social_topic.install \social_topic_update_8904()

Updated fieldset labels and added new fieldset called Settings.

File

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

Code

function social_topic_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_topic', 'social_topic_update_8904');

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