public function Theme::getUpdateManager in Express 8
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.
File
- themes/
contrib/ bootstrap/ src/ Theme.php, line 610 - Contains \Drupal\bootstrap.
Class
- Theme
- Defines a theme object.
Namespace
Drupal\bootstrapCode
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;
}