Chris@0: containerNeedsRebuild = TRUE; Chris@0: $container = parent::initializeContainer(); Chris@0: return $container; Chris@0: } Chris@0: Chris@0: /** Chris@0: * Reset the bootstrap config storage. Chris@0: * Chris@0: * Use this from a database driver runTasks() if the method overrides the Chris@0: * bootstrap config storage. Normally the bootstrap config storage is not Chris@0: * re-instantiated during a single install request. Most drivers will not Chris@0: * need this method. Chris@0: * Chris@0: * @see \Drupal\Core\Database\Install\Tasks::runTasks() Chris@0: */ Chris@0: public function resetConfigStorage() { Chris@0: $this->configStorage = NULL; Chris@0: } Chris@0: Chris@0: /** Chris@0: * Returns the active configuration storage used during early install. Chris@0: * Chris@0: * This override changes the visibility so that the installer can access Chris@0: * config storage before the container is properly built. Chris@0: * Chris@0: * @return \Drupal\Core\Config\StorageInterface Chris@0: * The config storage. Chris@0: */ Chris@0: public function getConfigStorage() { Chris@0: return parent::getConfigStorage(); Chris@0: } Chris@0: Chris@0: /** Chris@0: * {@inheritdoc} Chris@0: */ Chris@0: public function getInstallProfile() { Chris@0: global $install_state; Chris@0: if ($install_state && empty($install_state['installation_finished'])) { Chris@0: // If the profile has been selected return it. Chris@0: if (isset($install_state['parameters']['profile'])) { Chris@0: $profile = $install_state['parameters']['profile']; Chris@0: } Chris@0: else { Chris@0: $profile = NULL; Chris@0: } Chris@0: } Chris@0: else { Chris@0: $profile = parent::getInstallProfile(); Chris@0: } Chris@0: return $profile; Chris@0: } Chris@0: Chris@0: }