function UpdateFetcherInterface::getFetchBaseUrl

Same name in other branches
  1. 9 core/modules/update/src/UpdateFetcherInterface.php \Drupal\update\UpdateFetcherInterface::getFetchBaseUrl()
  2. 8.9.x core/modules/update/src/UpdateFetcherInterface.php \Drupal\update\UpdateFetcherInterface::getFetchBaseUrl()
  3. 10 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.

File

core/modules/update/src/UpdateFetcherInterface.php, line 42

Class

UpdateFetcherInterface
Fetches project information from remote locations.

Namespace

Drupal\update

Code

public function getFetchBaseUrl($project);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.