You are here

public function SecurityAdvisory::getInsecureVersions in Drupal 10

Same name and namespace in other branches
  1. 9 core/modules/system/src/SecurityAdvisories/SecurityAdvisory.php \Drupal\system\SecurityAdvisories\SecurityAdvisory::getInsecureVersions()

Gets the currently insecure versions of the project.

Return value

string[] The versions of the project that are currently insecure.

File

core/modules/system/src/SecurityAdvisories/SecurityAdvisory.php, line 205

Class

SecurityAdvisory
Provides a security advisory value object.

Namespace

Drupal\system\SecurityAdvisories

Code

public function getInsecureVersions() : array {
  return $this->insecureVersions;
}