UpdateBuildIdCommand::render

public UpdateBuildIdCommand::render() Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render File core/lib/Drupal/Core/Ajax/UpdateBuildIdCommand.php, line 52 Class UpdateBuildIdCommand AJAX command for updating the value of a hidden form_build_id input element on a form. It requires the form passed in to have keys for both the old build ID in #build_id_old and the new build ID in #build_id. Namespace Drupal\Core\Ajax Code public functio

UpdateBuildIdCommand::__construct

public UpdateBuildIdCommand::__construct($old, $new) Constructs a UpdateBuildIdCommand object. Parameters string $old: The old build_id. string $new: The new build_id. File core/lib/Drupal/Core/Ajax/UpdateBuildIdCommand.php, line 44 Class UpdateBuildIdCommand AJAX command for updating the value of a hidden form_build_id input element on a form. It requires the form passed in to have keys for both the old build ID in #build_id_old and the new build ID in #build_id. Namespace Drupal\Core

UpdateException

Exception class used to throw error if a module update fails. Hierarchy class \Drupal\Core\Utility\UpdateException extends \Exception File core/lib/Drupal/Core/Utility/UpdateException.php, line 8 Namespace Drupal\Core\Utility Members

UpdateFetcher

Fetches project information from remote locations. Hierarchy class \Drupal\update\UpdateFetcher implements UpdateFetcherInterface uses DependencySerializationTrait File core/modules/update/src/UpdateFetcher.php, line 13 Namespace Drupal\update Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization. DependencySerializationTrait::__sleep public functio

UpdateFetcher::$fetchUrl

The fetch url configured in the update settings. Type: string File core/modules/update/src/UpdateFetcher.php, line 27 Class UpdateFetcher Fetches project information from remote locations. Namespace Drupal\update Code protected $fetchUrl;

UpdateFetcher::$httpClient

The HTTP client to fetch the feed data with. Type: \GuzzleHttp\ClientInterface File core/modules/update/src/UpdateFetcher.php, line 41 Class UpdateFetcher Fetches project information from remote locations. Namespace Drupal\update Code protected $httpClient;

UpdateFetcher::$updateSettings

The update settings Type: \Drupal\Core\Config\Config File core/modules/update/src/UpdateFetcher.php, line 34 Class UpdateFetcher Fetches project information from remote locations. Namespace Drupal\update Code protected $updateSettings;

UpdateFetcher::buildFetchUrl

public UpdateFetcher::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. Defaults to an

UpdateFetcher::fetchProjectData

public UpdateFetcher::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. Overrides UpdateFetcherInterface::fetchProjectData File core/modules/update/src/UpdateFetcher.php, line

UpdateFetcher::getFetchBaseUrl

public UpdateFetcher::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. Overrides UpdateFetcherInterface::getFetchBaseUrl File core/modules/update/src/UpdateFe