Skip to content
Snippets Groups Projects

3337192: Removing modules using hook_post_update_NAME.

Merged sonvir249 requested to merge issue/back_to_top-3337192:3337192-back_to_top into 2.x
All threads resolved!
1 file
+ 20
0
Compare changes
  • Side-by-side
  • Inline
+ 20
0
<?php
/**
* @file
* Post update functions for Back To Top.
* */
/***
* Implementations of hook_post_update_NAME().
*/
/**
* Uninstall jquery ui, jquery ui effects modules.
*/
function back_to_top_post_update_uninstall_modules() {
/** @var \Drupal\Core\Extension\ModuleInstallerInterface $installer */
$installer = \Drupal::service('module_installer');
$installer->uninstall(['jquery_ui']);
$installer->uninstall(['jquery_ui_effects']);
}
Loading