function SecurityAdvisory::isPsa

Same name and namespace in other branches
  1. 10 core/modules/system/src/SecurityAdvisories/SecurityAdvisory.php \Drupal\system\SecurityAdvisories\SecurityAdvisory::isPsa()
  2. 11.x core/modules/system/src/SecurityAdvisories/SecurityAdvisory.php \Drupal\system\SecurityAdvisories\SecurityAdvisory::isPsa()

Whether the security advisory is a public service announcement or not.

Return value

bool TRUE if the advisory is a public service announcement, or FALSE otherwise.

File

core/modules/system/src/SecurityAdvisories/SecurityAdvisory.php, line 195

Class

SecurityAdvisory
Provides a security advisory value object.

Namespace

Drupal\system\SecurityAdvisories

Code

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

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