You are here

public function InstallableLibrary::getVersionUrl in Markdown 8.2

Retrieves the version as a URL.

Parameters

string $version: A specific version to retrieve a URL for. If not specified, it will default to the currently installed version.

array $options: Optional. Options to pass to the creation of the URL object.

Return value

\Drupal\Core\Url|false A specific version URL, if set; FALSE otherwise.

1 call to InstallableLibrary::getVersionUrl()
InstallableLibrary::getVersionLink in src/Annotation/InstallableLibrary.php
Retrieves the version as a link to a specific release.
2 methods override InstallableLibrary::getVersionUrl()
ComposerPackage::getVersionUrl in src/Annotation/ComposerPackage.php
Retrieves the version as a URL.
PeclExtension::getVersionUrl in src/Annotation/PeclExtension.php
Retrieves the version as a URL.

File

src/Annotation/InstallableLibrary.php, line 302

Class

InstallableLibrary

Namespace

Drupal\markdown\Annotation

Code

public function getVersionUrl($version = NULL, array $options = []) {
  return FALSE;
}