exportTheme
The exportTheme hook is triggered on whenever a theme gets exported via the
back end. The hook enables you to add additional data to the XML as well as the
ZIP archive. It passes the XML object, the ZIP archive object and the theme’s
id as arguments and expects no return value.
Parameters
\DOMDocument
$xmlThe XML object containing the theme’s data.
\Contao\ZipWriter
$zipArchiveThe ZIP archive object containing the theme’s files.
int
$themeIdThe ID of the theme.