Is it possible to disable The Update manager module without uninstalling it?

  • 1
    The big question is: WHY? – leymannx Nov 29 '16 at 11:05

You cannot disable a module as you do with Drupal 7 or previous versions, and this is valid also for the Update manager module. You could eventually avoid the module checks for new module versions, but the module itself doesn't have a setting for that in admin/reports/updates/settings.


What you could do is, using a custom module, avoiding Drupal invokes update_cron() which is the hook that periodically checks for updates.

function mymodule_implements_alter(&$implementations, $hook) {
  if ($hook == 'cron') {

You could still manually check for updates from admin/reports/updates, but Drupal would not check for updates during cron tasks.

If then you also need to disable the route set by the Update manager module, you could also do it as shown in How do I alter the route defined by another module?
This is, I think, the closer you could get to disable the Update manager module.

| improve this answer | |

No, modules can only be uninstalled in Drupal 8.

There's no such concept as disabling a module any more, just uninstalling.

| improve this answer | |
  • how can i disable update manager then? – Hiranya Sarma Jul 22 '16 at 13:19
  • 4
    Er...not sure what you're expecting me to say? You can't disable any module, so you can't disable the Update Manager module. You can uninstall it by selecting it and submitting the uninstall form at admin/modules/uninstall, or through Drush/Drupal Console. That's the only option available in Drupal 8 – Clive Jul 22 '16 at 13:21

As already @Clive stated,

Drupal 8 has removed the ability to disable modules for many reasons.

However, there is a way, but it is not advisable. Disable modules module has been created for that specific purpose only.

But again as please read what stated on that module page as below,

This module brings back the ability to (temporarily) disable modules from the UI or with Drush. Note, that there's no guarantee for your content, config or even your site after you disable a module.

So, think before using.

| improve this answer | |
  • let's say I uninstalled update manager,next time if I need it to update core,can it be installed using drupal console again? – Hiranya Sarma Jul 22 '16 at 13:29
  • Yes, you can install update module again. – mradcliffe Jul 22 '16 at 13:36
  • 1
    That doesn't really make sense though @Hiranya. If you already know core has an updated release, why would you then turn on Update Manager to give you exactly the same information? If you're thinking that Drupal can update its own core through the UI, it can't – Clive Jul 22 '16 at 13:40
  • @Hiranya The Update manager module cannot update Drupal core, so reinstalling the Update manager module when you already know there is an update doesn't make much sense. – kiamlaluno Jul 22 '16 at 13:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.