function ProjectSecurityRequirement::getVersionNoSecurityCoverageMessage

Same name in other branches
  1. 9 core/modules/update/src/ProjectSecurityRequirement.php \Drupal\update\ProjectSecurityRequirement::getVersionNoSecurityCoverageMessage()
  2. 8.9.x core/modules/update/src/ProjectSecurityRequirement.php \Drupal\update\ProjectSecurityRequirement::getVersionNoSecurityCoverageMessage()
  3. 10 core/modules/update/src/ProjectSecurityRequirement.php \Drupal\update\ProjectSecurityRequirement::getVersionNoSecurityCoverageMessage()

Gets the formatted message for a project with no security coverage.

Return value

string The message for a version with no security coverage.

2 calls to ProjectSecurityRequirement::getVersionNoSecurityCoverageMessage()
ProjectSecurityRequirement::getDateEndRequirement in core/modules/update/src/ProjectSecurityRequirement.php
Gets the security coverage requirement based on an end date.
ProjectSecurityRequirement::getVersionEndCoverageMessage in core/modules/update/src/ProjectSecurityRequirement.php
Gets the message for additional minor version security coverage.

File

core/modules/update/src/ProjectSecurityRequirement.php, line 262

Class

ProjectSecurityRequirement
Class for generating a project's security requirement.

Namespace

Drupal\update

Code

private function getVersionNoSecurityCoverageMessage() {
    return $this->t('<a href=":update_status_report">Update to a supported minor</a> as soon as possible to continue receiving security updates.', [
        ':update_status_report' => Url::fromRoute('update.status')->toString(),
    ]);
}

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