Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UpdateHooks.php

function UpdateHooks::modulesUninstalled

Implements hook_modules_uninstalled().

If modules are uninstalled, we invalidate the information of available updates.

File

core/modules/update/src/Hook/UpdateHooks.php, line 235

Class

UpdateHooks
Hook implementations for update.

Namespace

Drupal\update\Hook

Code

public function modulesUninstalled($modules) {
    // Clear all update module data.
    update_storage_clear();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal