function ModuleVersion::__construct
Same name in other branches
- 9 core/modules/update/src/ModuleVersion.php \Drupal\update\ModuleVersion::__construct()
Constructs a ModuleVersion object.
Parameters
string $major_version: The major version.
string|null $version_extra: The extra version string.
File
-
core/
modules/ update/ src/ ModuleVersion.php, line 87
Class
- ModuleVersion
- Provides a module version value object.
Namespace
Drupal\updateCode
private function __construct($major_version, $version_extra) {
$this->majorVersion = $major_version;
$this->versionExtra = $version_extra;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.