function ExtensionVersion::getMajorVersion
Gets the major version.
Return value
string The major version.
File
- 
              core/lib/ Drupal/ Core/ Extension/ ExtensionVersion.php, line 134 
Class
- ExtensionVersion
- Provides an extension version value object.
Namespace
Drupal\Core\ExtensionCode
public function getMajorVersion() : string {
  return $this->majorVersion;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
