You are here

function thunder_update_8303 in Thunder 8.5

Same name and namespace in other branches
  1. 8.3 thunder.install \thunder_update_8303()
  2. 8.4 thunder.install \thunder_update_8303()

Installs the autosave_form module.

File

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

Code

function thunder_update_8303() {

  /** @var \Drupal\update_helper\Updater $updateHelper */
  $updateHelper = \Drupal::service('update_helper.updater');

  // Execute configuration update definitions with logging of success.
  $updateHelper
    ->executeUpdate('thunder', 'thunder_update_8303');

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