function update_modules_installed in Drupal 10
Implements hook_modules_installed().
If modules are installed, we invalidate the information of available updates.
File
- core/
modules/ update/ update.module, line 230 - Handles updates of Drupal core and contributed projects.
Code
function update_modules_installed($modules) {
// Clear all update module data.
update_storage_clear();
}