You are here

public function ProjectRelease::getDownloadUrl in Drupal 10

Same name and namespace in other branches
  1. 9 core/modules/update/src/ProjectRelease.php \Drupal\update\ProjectRelease::getDownloadUrl()

Gets the download URL of the release.

Return value

string|null The download URL or NULL if none is available.

File

core/modules/update/src/ProjectRelease.php, line 274

Class

ProjectRelease
Provides a project release value object.

Namespace

Drupal\update

Code

public function getDownloadUrl() : ?string {
  return $this->downloadUrl;
}