cms.theme.createThemeDataModel

Triggered in Cms\Models\ThemeData.

Overrides the theme data model used by the system, which must inherit the main model

Example usage:

Event::listen('cms.theme.createThemeDataModel', function (array $attributes) {
    return new MyCustomThemeDataModel($attributes);
});