UpdateKernel::handleRaw

protected UpdateKernel::handleRaw(Request $request) Generates the actual result of update.php. The actual logic of the update is done in the db update controller. Parameters \Symfony\Component\HttpFoundation\Request $request: The incoming request. Return value \Symfony\Component\HttpFoundation\Response A response object. See also \Drupal\system\Controller\DbUpdateController File core/lib/Drupal/Core/Update/UpdateKernel.php, line 96 Class UpdateKernel Defines a kernel which is used prima

UpdateKernel::setupRequestMatch

protected UpdateKernel::setupRequestMatch(Request $request) Set up the request with fake routing data for update.php. This fake routing data is needed in order to make batch API work properly. Parameters \Symfony\Component\HttpFoundation\Request $request: The incoming request. File core/lib/Drupal/Core/Update/UpdateKernel.php, line 150 Class UpdateKernel Defines a kernel which is used primarily to run the update of Drupal. Namespace Drupal\Core\Update Code protected function setupRequ

UpdateKernel::handle

public UpdateKernel::handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) Handles a Request to convert it to a Response. When $catch is true, the implementation must catch all exceptions and do its best to convert them to a Response instance. Parameters Request $request A Request instance: int $type The type of the request: (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST) bool $catch Whether to catch exceptions or not: Return value Response A R

UpdateKernel

Defines a kernel which is used primarily to run the update of Drupal. We use a dedicated kernel + front controller (update.php) in order to be able to repair Drupal if it is in a broken state. Hierarchy class \Drupal\Core\DrupalKernel implements DrupalKernelInterface, TerminableInterfaceclass \Drupal\Core\Update\UpdateKernel See also update.php \Drupal\system\Controller\DbUpdateController File core/lib/Drupal/Core/Update/UpdateKernel.php, line 22 Namespace Drupal\Core\Update Members

UpdateKernel::bootSession

protected UpdateKernel::bootSession(Request $request) Boots up the session. bootSession() + shutdownSession() basically simulates what \Drupal\Core\StackMiddleware\Session does. Parameters \Symfony\Component\HttpFoundation\Request $request: The incoming request. File core/lib/Drupal/Core/Update/UpdateKernel.php, line 122 Class UpdateKernel Defines a kernel which is used primarily to run the update of Drupal. Namespace Drupal\Core\Update Code protected function bootSession(Request $req

UpdateKernel::discoverServiceProviders

public UpdateKernel::discoverServiceProviders() Discovers available serviceProviders. Return value array The available serviceProviders. Overrides DrupalKernel::discoverServiceProviders File core/lib/Drupal/Core/Update/UpdateKernel.php, line 27 Class UpdateKernel Defines a kernel which is used primarily to run the update of Drupal. Namespace Drupal\Core\Update Code public function discoverServiceProviders() { parent::discoverServiceProviders(); $this->serviceProviderClasses['a

UpdateKernel::cacheDrupalContainer

protected UpdateKernel::cacheDrupalContainer(array $container_definition) Stores the container definition in a cache. Parameters array $container_definition: The container definition to cache. Return value bool TRUE if the container was successfully cached. Overrides DrupalKernel::cacheDrupalContainer File core/lib/Drupal/Core/Update/UpdateKernel.php, line 47 Class UpdateKernel Defines a kernel which is used primarily to run the update of Drupal. Namespace Drupal\Core\Update Code pro

UpdateFetcherInterface::fetchProjectData

public UpdateFetcherInterface::fetchProjectData(array $project, $site_key = '') Retrieves the project information. Parameters array $project: The array of project information from \Drupal\Update\UpdateManager::getProjects(). string $site_key: (optional) The anonymous site key hash. Defaults to an empty string. Return value string The project information fetched as string. Empty string upon failure. File core/modules/update/src/UpdateFetcherInterface.php, line 36 Class UpdateFetcherInterfa

UpdateFetcherInterface::getFetchBaseUrl

public UpdateFetcherInterface::getFetchBaseUrl($project) Returns the base of the URL to fetch available update data for a project. Parameters array $project: The array of project information from \Drupal\Update\UpdateManager::getProjects(). Return value string The base of the URL used for fetching available update data. This does not include the path elements to specify a particular project, version, site_key, etc. File core/modules/update/src/UpdateFetcherInterface.php, line 22 Class Upd

UpdateFetcherInterface

Fetches project information from remote locations. Hierarchy interface \Drupal\update\UpdateFetcherInterface File core/modules/update/src/UpdateFetcherInterface.php, line 8 Namespace Drupal\update Members Name Modifiers Type Description UpdateFetcherInterface::buildFetchUrl public function Generates the URL to fetch information about project updates. UpdateFetcherInterface::fetchProjectData public function Retrieves the project information. UpdateFetcherInterfa