You are here

public function SecurityAdvisory::getProjectType in Drupal 9

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

Gets the type of project associated with the advisory.

Return value

string The project type.

1 call to SecurityAdvisory::getProjectType()
SecurityAdvisory::isCoreAdvisory in core/modules/system/src/SecurityAdvisories/SecurityAdvisory.php
Whether the security advisory is for core or not.

File

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

Class

SecurityAdvisory
Provides a security advisory value object.

Namespace

Drupal\system\SecurityAdvisories

Code

public function getProjectType() : string {
  return $this->type;
}