private function ProjectRelease::isReleaseType in Automatic Updates 8.2
Determines if the release is matches a type.
Parameters
string $type: The release type.
Return value
bool TRUE if the release matches the type, or FALSE otherwise.
3 calls to ProjectRelease::isReleaseType()
- ProjectRelease::isInsecure in automatic_updates_9_3_shim/
src/ ProjectRelease.php - Determines if the release is insecure.
- ProjectRelease::isSecurityRelease in automatic_updates_9_3_shim/
src/ ProjectRelease.php - Determines if the release is a security release.
- ProjectRelease::isUnsupported in automatic_updates_9_3_shim/
src/ ProjectRelease.php - Determines if the release is unsupported.
File
- automatic_updates_9_3_shim/
src/ ProjectRelease.php, line 234
Class
- ProjectRelease
- Provides a project release value object.
Namespace
Drupal\automatic_updates_9_3_shimCode
private function isReleaseType(string $type) : bool {
return $this->releaseTypes && in_array($type, $this->releaseTypes, TRUE);
}