ProjectSecurityData::SECURITY_COVERAGE_END_DATE_9_4

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

Define constants for versions with security coverage end dates.

Two types of constants are supported:

  • SECURITY_COVERAGE_END_DATE_[VERSION_MAJOR]_[VERSION_MINOR]: A date in 'Y-m-d' or 'Y-m' format.
  • SECURITY_COVERAGE_ENDING_WARN_DATE_[VERSION_MAJOR]_[VERSION_MINOR]: A date in 'Y-m-d' format.

See also

\Drupal\update\ProjectSecurityRequirement::getDateEndRequirement()

File

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

Class

ProjectSecurityData
Calculates a project's security coverage information.

Namespace

Drupal\update

Code

const SECURITY_COVERAGE_END_DATE_9_4 = '2023-06-21';

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