You are here

function social_book_update_8802 in Open Social 8.9

Same name and namespace in other branches
  1. 8.8 modules/social_features/social_book/social_book.install \social_book_update_8802()
  2. 10.3.x modules/social_features/social_book/social_book.install \social_book_update_8802()
  3. 10.0.x modules/social_features/social_book/social_book.install \social_book_update_8802()
  4. 10.1.x modules/social_features/social_book/social_book.install \social_book_update_8802()
  5. 10.2.x modules/social_features/social_book/social_book.install \social_book_update_8802()

Hide image label in teasers.

File

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

Code

function social_book_update_8802() {

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

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