function ExtensionVersion::getVersionExtra

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/ExtensionVersion.php \Drupal\Core\Extension\ExtensionVersion::getVersionExtra()
  2. 10 core/lib/Drupal/Core/Extension/ExtensionVersion.php \Drupal\Core\Extension\ExtensionVersion::getVersionExtra()

Gets the version extra string at the end of the version number.

Return value

string|null The version extra string if available, or otherwise NULL.

File

core/lib/Drupal/Core/Extension/ExtensionVersion.php, line 154

Class

ExtensionVersion
Provides an extension version value object.

Namespace

Drupal\Core\Extension

Code

public function getVersionExtra() : ?string {
    return $this->versionExtra;
}

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