| Hook | actionListMailThemes |
|---|---|
| Locations | FO |
| Type | action |
| Origin | core |
| Aliases | |
| Description | This hook allows to add/remove available email themes (ThemeInterface) and/or to add/remove their layouts (LayoutInterface) |
| Origin | File |
|---|---|
| core | src/Core/MailTemplate/FolderThemeCatalog.php |
dispatchWithParameters(
ThemeCatalogInterface::LIST_MAIL_THEMES_HOOK,
['mailThemes' => $mailThemes]
)
This hook has been implemented as an example in our modules examples repository - example_module_mailtheme.