function UpdateHooks::themesInstalled

Implements hook_themes_installed().

If themes are installed, we invalidate the information of available updates.

File

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

Class

UpdateHooks
Hook implementations for update.

Namespace

Drupal\update\Hook

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.