public function UpdateManager::getUpdates in Express 8
Retrieves update plugins for the theme.
Parameters
bool $private: Toggle determining whether or not to include private updates, intended for only the theme that created it. Defaults to: FALSE.
Return value
\Drupal\bootstrap\Plugin\Update\UpdateInterface[] An associative array containing update objects, keyed by their version.
1 call to UpdateManager::getUpdates()
- UpdateManager::getPendingUpdates in themes/
contrib/ bootstrap/ src/ Plugin/ UpdateManager.php - Retrieves any pending updates.
File
- themes/
contrib/ bootstrap/ src/ Plugin/ UpdateManager.php, line 102 - Contains \Drupal\bootstrap\Plugin\UpdateManager.
Class
- UpdateManager
- Manages discovery and instantiation of Bootstrap updates.
Namespace
Drupal\bootstrap\PluginCode
public function getUpdates($private = FALSE) {
$updates = [];
foreach ($this
->getSchemas($private) as $schema) {
$updates[$schema] = $this
->createInstance($schema, [
'theme' => $this->theme,
]);
}
return $updates;
}