function ProjectRelease::isInsecure

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

Determines if the release is insecure.

Return value

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

File

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

Class

ProjectRelease
Provides a project release value object.

Namespace

Drupal\update

Code

public function isInsecure() : bool {
    return $this->isReleaseType('Insecure');
}

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