Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ProjectSecurityData.php

function ProjectSecurityData::__construct

Constructs a ProjectSecurityData object.

Parameters

string $existing_version: The existing (currently installed) version of the project.

array $releases: Project releases as returned by update_get_available().

File

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

Class

ProjectSecurityData
Calculates a project's security coverage information.

Namespace

Drupal\update

Code

private function __construct($existing_version = NULL, array $releases = []) {
    $this->existingVersion = $existing_version;
    $this->releases = $releases;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal