function ProjectSecurityRequirement::__construct
Same name and namespace in other branches
- 11.x core/modules/update/src/ProjectSecurityRequirement.php \Drupal\update\ProjectSecurityRequirement::__construct()
- 10 core/modules/update/src/ProjectSecurityRequirement.php \Drupal\update\ProjectSecurityRequirement::__construct()
- 9 core/modules/update/src/ProjectSecurityRequirement.php \Drupal\update\ProjectSecurityRequirement::__construct()
- 8.9.x core/modules/update/src/ProjectSecurityRequirement.php \Drupal\update\ProjectSecurityRequirement::__construct()
Constructs a ProjectSecurityRequirement object.
Parameters
string|null $projectTitle: The project title.
array $securityCoverageInfo: Security coverage information as set by \Drupal\update\ProjectSecurityData::getCoverageInfo().
string|null $existingMajorMinorVersion: The existing (currently installed) version in the format [MAJOR].[MINOR].
string|null $nextMajorMinorVersion: The next version after the installed version in the format [MAJOR].[MINOR].
File
-
core/
modules/ update/ src/ ProjectSecurityRequirement.php, line 36
Class
- ProjectSecurityRequirement
- Class for generating a project's security requirement.
Namespace
Drupal\updateCode
private function __construct(protected $projectTitle = NULL, private array $securityCoverageInfo = [], private $existingMajorMinorVersion = NULL, private $nextMajorMinorVersion = NULL) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.