function ModuleVersion::getVersionExtra

Same name in other branches
  1. 8.9.x 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;
}

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