interface MailableInterface

Methods

array
getEmailViews()

Get the names of the views to construct a notification email with.

string
getEmailSubject(TranslatorInterface $translator)

Get the subject line for a notification email.

Details

array getEmailViews()

Get the names of the views to construct a notification email with.

To provide the best experience for the user, Flarum expects both a `text` and `html` view.

Return Value

array

string getEmailSubject(TranslatorInterface $translator)

Get the subject line for a notification email.

Parameters

TranslatorInterface $translator

Return Value

string