You are here

function thunder_update_8122 in Thunder 8.2

Switch to paragraphs experimental widget.

File

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

Code

function thunder_update_8122() {

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

  // Execute configuration update definition for switching to new experimental
  // paragraphs widget.
  $updater
    ->executeUpdate('thunder', 'thunder__thunder_update_8122');

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