You are here

public function AuditLogEvent::setMessage in Audit Log 8

Same name and namespace in other branches
  1. 8.2 src/AuditLogEvent.php \Drupal\audit_log\AuditLogEvent::setMessage()

Stores the untranslated audit message to write to the log.

Parameters

string $message: The untranslated audit message.

Return value

AuditLogEventInterface The current instance of the object.

Overrides AuditLogEventInterface::setMessage

File

src/AuditLogEvent.php, line 89

Class

AuditLogEvent
Represents a single auditable event for logging.

Namespace

Drupal\audit_log

Code

public function setMessage($message) {
  $this->message = $message;
  return $this;
}