function UpdateFetcher::getFetchBaseUrl
1 call to UpdateFetcher::getFetchBaseUrl()
- UpdateFetcher::buildFetchUrl in core/
modules/ update/ src/ UpdateFetcher.php
File
-
core/
modules/ update/ src/ UpdateFetcher.php, line 147
Class
- UpdateFetcher
- Fetches project information from remote locations.
Namespace
Drupal\updateCode
public function getFetchBaseUrl($project) {
if (isset($project['info']['project status url'])) {
$url = $project['info']['project status url'];
}
else {
$url = $this->fetchUrl;
if (empty($url)) {
$url = static::UPDATE_DEFAULT_URL;
}
}
return $url;
}