interface DigestFormatterInterface in Message Digest 8
An interface for formatting message digests.
Hierarchy
- interface \Drupal\message_digest\DigestFormatterInterface
Expanded class hierarchy of DigestFormatterInterface
All classes that implement DigestFormatterInterface
File
- src/
DigestFormatterInterface.php, line 10
Namespace
Drupal\message_digestView source
interface DigestFormatterInterface {
/**
* Build the full message digest content for a given set of messages.
*
* @param \Drupal\message\MessageInterface[] $digest
* An array of messages.
* @param array $view_modes
* An array of view modes to build.
* @param \Drupal\user\UserInterface $recipient
* The digest recipient.
*
* @return string
* Fully rendered message digest.
*/
public function format(array $digest, array $view_modes, UserInterface $recipient);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DigestFormatterInterface:: |
public | function | Build the full message digest content for a given set of messages. | 1 |