You are here

public function Theme::postInstall in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Updater/Theme.php \Drupal\Core\Updater\Theme::postInstall()

Performs actions after installation.

Overrides Updater::postInstall

File

core/lib/Drupal/Core/Updater/Theme.php, line 85
Contains \Drupal\Core\Updater\Theme.

Class

Theme
Defines a class for updating themes using Drupal\Core\FileTransfer\FileTransfer classes via authorize.php.

Namespace

Drupal\Core\Updater

Code

public function postInstall() {

  // Update the theme info.
  clearstatcache();
  \Drupal::service('theme_handler')
    ->rebuildThemeData();
}