You are here

function thunder_update_8310 in Thunder 8.5

Same name and namespace in other branches
  1. 6.2.x thunder.install \thunder_update_8310()
  2. 6.0.x thunder.install \thunder_update_8310()
  3. 6.1.x thunder.install \thunder_update_8310()

Prepare the content view for the config selector.

File

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

Code

function thunder_update_8310() {

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

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