You are here

public function MessageWrapper::setDrupalMessage in Sparkpost email 8.2

Sets the Drupal message.

Parameters

array $drupal_message: Drupal message structure.

Overrides MessageWrapperInterface::setDrupalMessage

File

src/MessageWrapper.php, line 59

Class

MessageWrapper
Message wrapper class.

Namespace

Drupal\sparkpost

Code

public function setDrupalMessage(array $drupal_message) {
  $this->drupalMessage = $drupal_message;
}