function ProjectRelease::isPublished

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

Determines if the release is published.

Return value

bool TRUE if the release is published, or FALSE otherwise.

File

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

Class

ProjectRelease
Provides a project release value object.

Namespace

Drupal\update

Code

public function isPublished() : bool {
    return $this->published;
}

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