Implements \Drupal\Core\Extension\ModuleHandlerInterface::getBootstrapModules().
Overrides ModuleHandler::getBootstrapModules
public function getBootstrapModules() {
if (isset($this->bootstrapModules)) {
return $this->bootstrapModules;
}
if ($cached = $this->bootstrapCache
->get('bootstrap_modules')) {
$bootstrap_list = $cached->data;
}
else {
$bootstrap_list = $this->state
->get('system.module.bootstrap') ?: array();
$this->bootstrapCache
->set('bootstrap_modules', $bootstrap_list);
}
$this->bootstrapModules = array_keys($bootstrap_list);
return $this->bootstrapModules;
}