You are here

private function ProjectSecurityRequirement::getVersionNoSecurityCoverageMessage in Drupal 9

Same name and namespace in other branches
  1. 8 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(),
  ]);
}