You are here

public function UpdateFetcherInterface::getFetchBaseUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/update/src/UpdateFetcherInterface.php \Drupal\update\UpdateFetcherInterface::getFetchBaseUrl()

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.

1 method overrides UpdateFetcherInterface::getFetchBaseUrl()
UpdateFetcher::getFetchBaseUrl in core/modules/update/src/UpdateFetcher.php
Returns the base of the URL to fetch available update data for a project.

File

core/modules/update/src/UpdateFetcherInterface.php, line 26
Contains \Drupal\update\UpdateFetcherInterface.

Class

UpdateFetcherInterface
Fetches project information from remote locations.

Namespace

Drupal\update

Code

public function getFetchBaseUrl($project);