Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
back_to_top
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
back_to_top
Merge requests
!10
3337192: Removing modules using hook_post_update_NAME.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
3337192: Removing modules using hook_post_update_NAME.
issue/back_to_top-3337192:3337192-back_to_top
into
2.x
Overview
3
Commits
1
Pipelines
0
Changes
1
All threads resolved!
Show all comments
Merged
sonvir249
requested to merge
issue/back_to_top-3337192:3337192-back_to_top
into
2.x
1 year ago
Overview
3
Commits
1
Pipelines
0
Changes
1
All threads resolved!
Show all comments
Expand
Closes
#3337192
0
0
Merge request reports
Compare
2.x
2.x (base)
and
latest version
latest version
194eeda8
1 commit,
1 year ago
1 file
+
20
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
back_to_top.post_update.php
0 → 100644
+
20
−
0
Options
<?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