function public function Theme::getUpdateManager

8.x-3.x Theme.php public Theme::getUpdateManager()

Retrieves the update plugin manager for the theme.

Return value

\Drupal\bootstrap\Plugin\UpdateManager|false The Update plugin manager or FALSE if theme is not Bootstrap based.

Class

Theme
Defines a theme object.

Namespace

Drupal\bootstrap

Source src/Theme.php (line 613)

public function getUpdateManager() {
  // Immediately return if theme is not Bootstrap based.
  if (!$this->isBootstrap()) {
    return FALSE;
  }

  if (!$this->updateManager) {
    $this->updateManager = new UpdateManager($this);
  }
  return $this->updateManager;
}