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