You are here

public function DigestFormatterInterface::format in Message Digest 8

Build the full message digest content for a given set of messages.

Parameters

\Drupal\message\MessageInterface[] $digest: An array of messages.

array $view_modes: An array of view modes to build.

\Drupal\user\UserInterface $recipient: The digest recipient.

Return value

string Fully rendered message digest.

1 method overrides DigestFormatterInterface::format()
DigestFormatter::format in src/DigestFormatter.php
Build the full message digest content for a given set of messages.

File

src/DigestFormatterInterface.php, line 25

Class

DigestFormatterInterface
An interface for formatting message digests.

Namespace

Drupal\message_digest

Code

public function format(array $digest, array $view_modes, UserInterface $recipient);