You are here

function thunder_update_8306 in Thunder 8.5

Same name and namespace in other branches
  1. 8.4 thunder.install \thunder_update_8306()

Adjust order of paragraph types in add dialog to be consistent.

File

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

Code

function thunder_update_8306() {

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

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