ProjectSecurityData::CORE_MINORS_WITH_SECURITY_COVERAGE

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

The number of minor versions of Drupal core that receive security coverage.

For example, if this value is 2 and the existing version is 9.0.1, the 9.0.x branch will receive security coverage until the release of version 9.2.0.

@todo In https://www.drupal.org/node/2998285 determine if we want this policy to be expressed in the updates.drupal.org feed, instead of relying on a hard-coded constant.

See also

https://www.drupal.org/core/release-cycle-overview

File

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

Class

ProjectSecurityData
Calculates a project's security coverage information.

Namespace

Drupal\update

Code

const CORE_MINORS_WITH_SECURITY_COVERAGE = 2;

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