Craft Themes (3.x)

CpDisplayAjaxController extends Controller
in package

Controller for ajax actions related to displays

Table of Contents

$blockCache  : BlockCacheService
$blockProviders  : BlockProvidersService
$blocks  : BlockService
$displays  : DisplayService
$fieldDisplayers  : FieldDisplayerService
$fields  : FieldsService
$groups  : GroupsService
$layouts  : LayoutService
$registry  : ThemesRegistry
$viewModes  : ViewModeService
actionValidateFieldOptions()  : array<string|int, mixed>
Validate field options
afterAction()  : mixed
beforeAction()  : mixed
init()  : mixed

Properties

$blockCache

protected BlockCacheService $blockCache

$blockProviders

protected BlockProvidersService $blockProviders

$fieldDisplayers

protected FieldDisplayerService $fieldDisplayers

Methods

actionValidateFieldOptions()

Validate field options

public actionValidateFieldOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>

afterAction()

public afterAction(mixed $action, mixed $result) : mixed
Parameters
$action : mixed
$result : mixed
Tags
inheritDoc
Return values
mixed

beforeAction()

public beforeAction(mixed $action) : mixed
Parameters
$action : mixed
Tags
inheritDoc
Return values
mixed

init()

public init() : mixed
Tags
inheritDoc
Return values
mixed

Search results