public function LogMessage::getReferrer in File Log 8
Same name and namespace in other branches
- 2.0.x src/LogMessage.php \Drupal\filelog\LogMessage::getReferrer()
Get the referrer of the message.
Return value
string|null The referrer, or NULL.
File
- src/
LogMessage.php, line 197
Class
- LogMessage
- Represents a single log event.
Namespace
Drupal\filelogCode
public function getReferrer() : ?string {
return $this->context['referer'] ?? NULL;
}