protected function UpdateManager::getSchemas in Express 8
Retrieves the update schema identifiers.
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
array An indexed array of schema identifiers.
2 calls to UpdateManager::getSchemas()
- UpdateManager::getLatestSchema in themes/
contrib/ bootstrap/ src/ Plugin/ UpdateManager.php - Retrieves the latest update schema.
- UpdateManager::getUpdates in themes/
contrib/ bootstrap/ src/ Plugin/ UpdateManager.php - Retrieves update plugins for the theme.
File
- themes/
contrib/ bootstrap/ src/ Plugin/ UpdateManager.php, line 120 - Contains \Drupal\bootstrap\Plugin\UpdateManager.
Class
- UpdateManager
- Manages discovery and instantiation of Bootstrap updates.
Namespace
Drupal\bootstrap\PluginCode
protected function getSchemas($private = FALSE) {
$definitions = $this
->getDefinitions();
// Remove private updates.
if (!$private) {
foreach ($definitions as $plugin_id => $definition) {
if (!empty($definition['private'])) {
unset($definitions[$plugin_id]);
}
}
}
return array_keys($definitions);
}