devtemple
8 months ago
74
12
Laravel

Access $notifiable variable in layout html email template

Posted 8 months ago by devtemple

Hello there. I have a question about laravel notifications. Is this possible to access $notifiable variable in the layout email in all notifications? I could use maybe View::share, but is problem with access to $notifiable I need make something like a put global text in variable if debug is true and display text:

Test message, Original receiver: [email protected]

Please sign in or create an account to participate in this conversation.