Craft Themes (3.x)

CpThemesController 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()  : mixed

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
3.3.0
Return values
mixed

init()

public init() : mixed
Tags
inheritDoc
Return values
mixed

Search results