You are here

function social_topic_update_8905 in Open Social 10.1.x

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

Added fields to their new respective fieldsets.

File

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

Code

function social_topic_update_8905() {

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

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