function ProjectRelease::isSecurityRelease
Same name in other branches
- 9 core/modules/update/src/ProjectRelease.php \Drupal\update\ProjectRelease::isSecurityRelease()
- 10 core/modules/update/src/ProjectRelease.php \Drupal\update\ProjectRelease::isSecurityRelease()
Determines if the release is a security release.
Return value
bool TRUE if the release is security release, or FALSE otherwise.
File
-
core/
modules/ update/ src/ ProjectRelease.php, line 201
Class
- ProjectRelease
- Provides a project release value object.
Namespace
Drupal\updateCode
public function isSecurityRelease() : bool {
return $this->isReleaseType('Security update');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.