GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/Student/JimMartinson/Lab12/drupal/core/lib/Drupal/Core/Installer/ |
Upload File : |
<?php namespace Drupal\Core\Installer; use Drupal\Core\DrupalKernel; /** * Extend DrupalKernel to handle force some kernel behaviors. */ class InstallerKernel extends DrupalKernel { /** * {@inheritdoc} */ protected function initializeContainer() { // Always force a container rebuild. $this->containerNeedsRebuild = TRUE; $container = parent::initializeContainer(); return $container; } /** * Reset the bootstrap config storage. * * Use this from a database driver runTasks() if the method overrides the * bootstrap config storage. Normally the bootstrap config storage is not * re-instantiated during a single install request. Most drivers will not * need this method. * * @see \Drupal\Core\Database\Install\Tasks::runTasks() */ public function resetConfigStorage() { $this->configStorage = NULL; } /** * Returns the active configuration storage used during early install. * * This override changes the visibility so that the installer can access * config storage before the container is properly built. * * @return \Drupal\Core\Config\StorageInterface * The config storage. */ public function getConfigStorage() { return parent::getConfigStorage(); } /** * {@inheritdoc} */ public function getInstallProfile() { global $install_state; if ($install_state && empty($install_state['installation_finished'])) { // If the profile has been selected return it. if (isset($install_state['parameters']['profile'])) { $profile = $install_state['parameters']['profile']; } else { $profile = NULL; } } else { $profile = parent::getInstallProfile(); } return $profile; } }