system.console.theme.sync.getAvailableModelClasses

Defines the Halcyon models to be made available to the theme:sync tool.

Example usage:

Event::listen('system.console.theme.sync.getAvailableModelClasses', function () { return [ Meta::class, Page::class, Layout::class, Content::class, Partial::class, ]; });

Usage

Triggers

Class or file Line
Cms\Console\ThemeSync 143
Copyright © 2024 Winter CMS