function thunder_update_8103 in Thunder 8.2
Installs the update_helper module.
File
- ./
thunder.install, line 354 - Install, update and uninstall functions for the thunder installation profile.
Code
function thunder_update_8103() {
/** @var \Drupal\update_helper\Updater $updater */
$updater = \Drupal::service('update_helper.updater');
// Now update helper is enabled and we can start using it!
$updater
->executeUpdate('thunder', 'v1_1__responsive_preview');
$updater
->executeUpdate('thunder', 'v1_1__access_unpublished');
return $updater
->logger()
->output();
}