AddFlashMessageTrait
trait AddFlashMessageTrait (View source)
A trait to add backend translation based on the backend users settings
Properties
protected Translator | $_translator |
Methods
void
addFlashMessage(string $messageBody, string $messageTitle = '', string $severity = Message::SEVERITY_OK, array $messageArguments = [], int $messageCode = null)
Add a translated flashMessage.
Details
void
addFlashMessage(string $messageBody, string $messageTitle = '', string $severity = Message::SEVERITY_OK, array $messageArguments = [], int $messageCode = null)
Add a translated flashMessage.