You are here

function thunder_liveblog_update_8103 in Thunder 8.2

Switch to new experimental paragraphs widget and paragraphs features.

File

modules/thunder_liveblog/thunder_liveblog.install, line 123
The install file.

Code

function thunder_liveblog_update_8103() {

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

  // Update should be marked as successful only if all steps are successful.
  $updater
    ->executeUpdate('thunder_liveblog', 'thunder_liveblog__update_8103');

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