ExtensionVersion::$majorVersion

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/ExtensionVersion.php \Drupal\Core\Extension\ExtensionVersion::majorVersion
  2. 10 core/lib/Drupal/Core/Extension/ExtensionVersion.php \Drupal\Core\Extension\ExtensionVersion::majorVersion

The major version.

Type: string

File

core/lib/Drupal/Core/Extension/ExtensionVersion.php, line 26

Class

ExtensionVersion
Provides an extension version value object.

Namespace

Drupal\Core\Extension

Code

protected $majorVersion;

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