You are here

public function ExtensionVersion::getVersionExtra in Drupal 9

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;
}