function ProjectRelease::isCoreCompatible

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

Determines whether release is compatible the site's version of Drupal core.

Return value

bool|null Whether the release is compatible or NULL if no data is set.

File

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

Class

ProjectRelease
Provides a project release value object.

Namespace

Drupal\update

Code

public function isCoreCompatible() : ?bool {
    return $this->coreCompatible;
}

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