You are here

public function Incident::getTargetId in Radioactivity 4.0.x

Returns the id of the referenced radioactivity entity.

Return value

string|int The target id.

Overrides IncidentInterface::getTargetId

File

src/Incident.php, line 188

Class

Incident
Data class for Radioactivity Incident.

Namespace

Drupal\radioactivity

Code

public function getTargetId() {
  return $this->targetId;
}