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::handleAccess

protected UpdateKernel::handleAccess(Request $request) Checks if the current user has rights to access updates page. If the current user does not have the rights, an exception is thrown. Parameters \Symfony\Component\HttpFoundation\Request $request: The incoming request. Throws \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException Thrown when update.php should not be accessible. File core/lib/Drupal/Core/Update/UpdateKernel.php, line 172 Class UpdateKernel Defines a kernel wh

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::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

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

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

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::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::buildFetchUrl

public UpdateFetcherInterface::buildFetchUrl(array $project, $site_key = '') Generates the URL to fetch information about project updates. This figures out the right URL to use, based on the project's .info.yml file and the global defaults. Appends optional query arguments when the site is configured to report usage stats. Parameters array $project: The array of project information from \Drupal\Update\UpdateManager::getProjects(). string $site_key: (optional) The anonymous site key hash. Defau