You are here

public function AuditLogEvent::setMessagePlaceholders in Audit Log 8

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

Stores the replacement tokens for the log message.

Parameters

array $variables: The array of replacement tokens.

Return value

AuditLogEventInterface The current instance of the event.

Overrides AuditLogEventInterface::setMessagePlaceholders

File

src/AuditLogEvent.php, line 97

Class

AuditLogEvent
Represents a single auditable event for logging.

Namespace

Drupal\audit_log

Code

public function setMessagePlaceholders($variables) {
  $this->messagePlaceholders = $variables;
  return $this;
}