AddTranslatedFlashMessageTrait
trait AddTranslatedFlashMessageTrait (View source)
A trait to add backend translation based on the backend users settings
Properties
protected Translator | $_translator |
Methods
void
addTranslatedFlashMessage(string $messageBodyTranslationId, string $severity = Message::SEVERITY_OK, array $messageArguments = [], int|null $messageCode = null)
No description
Details
void
addTranslatedFlashMessage(string $messageBodyTranslationId, string $severity = Message::SEVERITY_OK, array $messageArguments = [], int|null $messageCode = null)
No description