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

UpdateFetcher::UPDATE_DEFAULT_URL

URL to check for updates, if a given project doesn't define its own. File core/modules/update/src/UpdateFetcher.php, line 20 Class UpdateFetcher Fetches project information from remote locations. Namespace Drupal\update Code const UPDATE_DEFAULT_URL = 'http://updates.drupal.org/release-history';

UpdateFetcher::__construct

public UpdateFetcher::__construct(ConfigFactoryInterface $config_factory, ClientInterface $http_client) Constructs a UpdateFetcher. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory. \GuzzleHttp\ClientInterface $http_client: A Guzzle client object. File core/modules/update/src/UpdateFetcher.php, line 51 Class UpdateFetcher Fetches project information from remote locations. Namespace Drupal\update Code public function __construct(ConfigFactoryInt

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

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

UpdateBuildIdCommand::$old

Old build id. Type: string File core/lib/Drupal/Core/Ajax/UpdateBuildIdCommand.php, line 27 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 protected $old;