protected function MessageDigestTrait::getMessageDigestManager in Message Digest 8
Returns the digest manager service.
Return value
\Drupal\message_digest\DigestManagerInterface The digest manager service.
File
- src/
Traits/ MessageDigestTrait.php, line 188
Class
- MessageDigestTrait
- Methods useful for testing and integrating the Message Digest module.
Namespace
Drupal\message_digest\TraitsCode
protected function getMessageDigestManager() {
return \Drupal::service('message_digest.manager');
}