You are here

function thunder_update_8113 in Thunder 8.2

Enable content_lock module.

File

./thunder.install, line 698
Install, update and uninstall functions for the thunder installation profile.

Code

function thunder_update_8113() {

  /** @var \Drupal\update_helper\Updater $updater */
  $updater = \Drupal::service('update_helper.updater');
  $updater
    ->executeUpdate('thunder', 'v1_1__content_lock');

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