You are here

function social_book_update_10201 in Open Social 10.3.x

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

Updated book form labels.

File

modules/social_features/social_book/social_book.install, line 264
Install, update and uninstall functions for the social_book module.

Code

function social_book_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_book', 'social_book_update_10201');

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