ProjectSecurityData::$releases

Same name in other branches
  1. 9 core/modules/update/src/ProjectSecurityData.php \Drupal\update\ProjectSecurityData::releases
  2. 10 core/modules/update/src/ProjectSecurityData.php \Drupal\update\ProjectSecurityData::releases
  3. 11.x core/modules/update/src/ProjectSecurityData.php \Drupal\update\ProjectSecurityData::releases

Releases as returned by update_get_available().

Each release item in the array has metadata about that release. This class uses the keys:

  • status (string): The status of the release.
  • version (string): The version number of the release.

Type: array

See also

update_get_available()

File

core/modules/update/src/ProjectSecurityData.php, line 68

Class

ProjectSecurityData
Calculates a project's security coverage information.

Namespace

Drupal\update

Code

protected $releases;

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