You are here

public function SecurityAdvisory::isPsa in Drupal 9

Same name and namespace in other branches
  1. 10 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;
}