You are here

public function ModuleVersion::getVersionExtra in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/update/src/ModuleVersion.php \Drupal\update\ModuleVersion::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/modules/update/src/ModuleVersion.php, line 139

Class

ModuleVersion
Provides a module version value object.

Namespace

Drupal\update

Code

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