function ProjectRelease::getDownloadUrl

Same name and namespace in other branches
  1. 9 core/modules/update/src/ProjectRelease.php \Drupal\update\ProjectRelease::getDownloadUrl()
  2. 10 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;
}

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