cms.theme.extendConfig

Extend basic theme configuration supplied by the theme by returning an array.

Note if planning on extending form fields, use the cms.theme.extendFormConfig event instead.

Example usage:

Event::listen('cms.theme.extendConfig', function ($themeCode, &$config) {
     $config['name'] = 'Winter Theme';
     $config['description'] = 'Another great theme from Winter CMS';
});

Usage

Triggers

Class or file Line
Cms\Classes\Theme 375
Copyright © 2024 Winter CMS