Search for getVersion

  1. Search 7.x for getVersion
  2. Search 9.5.x for getVersion
  3. Search 8.9.x for getVersion
  4. Search 10.3.x for getVersion
  5. Other projects
Title Object type File name Summary
ComposerInspector::getVersion function core/modules/package_manager/src/ComposerInspector.php Returns the current Composer version.
ComposerInspectorTest::testGetVersion function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php @covers ::getVersion
ExtensionVersion::getVersionExtra function core/lib/Drupal/Core/Extension/ExtensionVersion.php Gets the version extra string at the end of the version number.
ExtensionVersionTest::testGetVersionExtra function core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php @covers ::getVersionExtra
LocaleNonInteractiveDevInstallTest::getVersionStringToTest function core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php Gets the version string to use in the translation file.
LocaleNonInteractiveInstallTest::getVersionStringToTest function core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php Gets the version string to use in the translation file.
ProjectRelease::getVersion function core/modules/update/src/ProjectRelease.php Gets the project version.
ProjectSecurityRequirement::getVersionEndCoverageMessage function core/modules/update/src/ProjectSecurityRequirement.php Gets the message for additional minor version security coverage.
ProjectSecurityRequirement::getVersionEndRequirement function core/modules/update/src/ProjectSecurityRequirement.php Gets the requirements based on security coverage until a specific version.
ProjectSecurityRequirement::getVersionNoSecurityCoverageMessage function core/modules/update/src/ProjectSecurityRequirement.php Gets the formatted message for a project with no security coverage.
ResourceObject::getVersionIdentifier function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Gets a version identifier for the ResourceObject.
RevisionHtmlRouteProvider::getVersionHistoryRoute function core/lib/Drupal/Core/Entity/Routing/RevisionHtmlRouteProvider.php Gets the entity revision history route.
StringBase::getVersion function core/modules/locale/src/StringBase.php Gets the string version.
StringInterface::getVersion function core/modules/locale/src/StringInterface.php Gets the string version.
UpdateHookRegistryTest::testGetVersions function core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php @covers ::getAvailableUpdates

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