Cms\Controllers\ThemeOptions

Overview

ThemeOptions customization controller

Extends

Public Properties

public array $implement

implement extensions for this controller

public array $formConfig

formConfig FormController configuration.

public array $requiredPermissions

requiredPermissions to view this page

Show inherited public properties

Inherited Public Properties

Protected Properties

There are no protected properties in the class.

Show inherited protected properties

Inherited Protected Properties


Public Methods

public __construct()

public __construct(): void

public formCreateModelObject()

public formCreateModelObject(): void

public formExtendFieldsBefore()

public formExtendFieldsBefore($form): void

formExtendFieldsBefore will add form fields defined in theme.yaml

public update()

public update($dirName = null): void

public update_onResetDefault()

public update_onResetDefault($dirName = null): void

public update_onSave()

public update_onSave($dirName = null): void

Show inherited public methods

Inherited Public Methods

Protected Methods

protected findThemeObject()

protected findThemeObject($name = null): void

protected getDirName()

protected getDirName($dirName = null): void

getDirName defaults to the active theme if user doesn't have access to manage all themes

protected getThemeData()

protected getThemeData($dirName): void

protected hasThemeData()

protected hasThemeData($dirName): void

Show inherited protected methods

Inherited Protected Methods