function ProjectRelease::getCoreCompatibilityMessage

Same name in other branches
  1. 10 core/modules/update/src/ProjectRelease.php \Drupal\update\ProjectRelease::getCoreCompatibilityMessage()
  2. 11.x core/modules/update/src/ProjectRelease.php \Drupal\update\ProjectRelease::getCoreCompatibilityMessage()

Gets the core compatibility message for the site's version of Drupal core.

Return value

string|null The core compatibility message or NULL if none is available.

File

core/modules/update/src/ProjectRelease.php, line 264

Class

ProjectRelease
Provides a project release value object.

Namespace

Drupal\update

Code

public function getCoreCompatibilityMessage() : ?string {
    return $this->coreCompatibilityMessage;
}

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