Craft Themes (4.x)

ThemesController extends Controller
in package

Controller for actions related to theme list

Table of Contents

$blockCache  : BlockCacheService
$blockProviders  : BlockProvidersService
$blocks  : BlockService
$displays  : DisplayService
$fieldDisplayers  : FieldDisplayerService
$fields  : FieldsService
$groups  : GroupsService
$layouts  : LayoutService
$registry  : ThemesRegistry
$viewModes  : ViewModeService
actionIndex()  : Response
Themes index
actionList()  : Response
Themes list
actionOverriddenTemplates()  : mixed
Returns which templates are overriden for a theme
init()  : void

Properties

$blockCache

protected BlockCacheService $blockCache

$blockProviders

protected BlockProvidersService $blockProviders

$fieldDisplayers

protected FieldDisplayerService $fieldDisplayers

Methods

actionIndex()

Themes index

public actionIndex() : Response
Return values
Response

actionList()

Themes list

public actionList() : Response
Return values
Response

actionOverriddenTemplates()

Returns which templates are overriden for a theme

public actionOverriddenTemplates() : mixed
Tags
since
4.2.0
Return values
mixed

init()

public init() : void
Tags
inheritDoc
Return values
void

Search results