function thunder_liveblog_update_8102 in Thunder 8.2
Provide nicer liveblog form display.
File
- modules/
thunder_liveblog/ thunder_liveblog.install, line 104 - The install file.
Code
function thunder_liveblog_update_8102() {
/** @var \Drupal\update_helper\Updater $updater */
$updater = \Drupal::service('update_helper.updater');
$updateLogger = $updater
->logger();
if ($updater
->executeUpdate('thunder_liveblog', 'thunder_liveblog__update_8102')) {
$updateLogger
->info(t('New form display successfully installed.'));
}
else {
$updateLogger
->warning(t('There was an error during the update of the liveblog form display.'));
}
// Output logged messages to related channel of update execution.
return $updateLogger
->output();
}