Craft Themes (3.x)

CpDisplayController extends Controller
in package

Controller for actions related to displays

Table of Contents

EVENT_REGISTER_ASSET_BUNDLES  = 'register_asset_bundles'
$blockCache  : BlockCacheService
$blockProviders  : BlockProvidersService
$blocks  : BlockService
$displays  : DisplayService
$fieldDisplayers  : FieldDisplayerService
$fields  : FieldsService
$groups  : GroupsService
$layouts  : LayoutService
$registry  : ThemesRegistry
$viewModes  : ViewModeService
actionIndex()  : Response
Display index
init()  : mixed

Constants

EVENT_REGISTER_ASSET_BUNDLES

public mixed EVENT_REGISTER_ASSET_BUNDLES = 'register_asset_bundles'

Properties

$blockCache

protected BlockCacheService $blockCache

$blockProviders

protected BlockProvidersService $blockProviders

$fieldDisplayers

protected FieldDisplayerService $fieldDisplayers

Methods

actionIndex()

Display index

public actionIndex([string|null $themeName = null ][, int|null $layout = null ][, string $viewModeHandle = '' ]) : Response
Parameters
$themeName : string|null = null
$layout : int|null = null
$viewModeHandle : string = ''
Return values
Response

init()

public init() : mixed
Tags
inheritDoc
Return values
mixed

Search results