You are here

private function ProjectSecurityRequirement::getVersionNoSecurityCoverageMessage in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/update/src/ProjectSecurityRequirement.php \Drupal\update\ProjectSecurityRequirement::getVersionNoSecurityCoverageMessage()
  2. 9 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.

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(),
  ]);
}