protected function Theme::install in Express 8
Installs a Bootstrap based theme.
1 call to Theme::install()
- Theme::__construct in themes/
contrib/ bootstrap/ src/ Theme.php - Theme constructor.
File
- themes/
contrib/ bootstrap/ src/ Theme.php, line 670 - Contains \Drupal\bootstrap.
Class
- Theme
- Defines a theme object.
Namespace
Drupal\bootstrapCode
protected function install() {
// Immediately return if theme is not Bootstrap based.
if (!$this
->isBootstrap()) {
return;
}
$schemas = [];
foreach ($this
->getAncestry() as $ancestor) {
$schemas[$ancestor
->getName()] = $ancestor
->getUpdateManager()
->getLatestSchema();
}
$this
->setSetting('schemas', $schemas);
}