You are here

public function MessageWrapper::setSparkpostMessage in Sparkpost email 8.2

Sets the sparkpost message.

Parameters

array $sparkpost_message: The message structure needed.

Overrides MessageWrapperInterface::setSparkpostMessage

File

src/MessageWrapper.php, line 66

Class

MessageWrapper
Message wrapper class.

Namespace

Drupal\sparkpost

Code

public function setSparkpostMessage(array $sparkpost_message) {
  $this->sparkpostMessage = $sparkpost_message;
}