function SecurityAdvisory::getInsecureVersions

Same name in other branches
  1. 9 core/modules/system/src/SecurityAdvisories/SecurityAdvisory.php \Drupal\system\SecurityAdvisories\SecurityAdvisory::getInsecureVersions()
  2. 11.x 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;
}

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