function ProjectSecurityRequirement::getReleaseCycleLink

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

Gets a link the release cycle page on drupal.org.

Return value

string A link to the release cycle page on drupal.org.

2 calls to ProjectSecurityRequirement::getReleaseCycleLink()
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 275

Class

ProjectSecurityRequirement
Class for generating a project's security requirement.

Namespace

Drupal\update

Code

private function getReleaseCycleLink() {
    return $this->t('Visit the <a href=":url">release cycle overview</a> for more information on supported releases.', [
        ':url' => 'https://www.drupal.org/core/release-cycle-overview',
    ]);
}

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