Craft Themes (4.x)

ViewModesOptions

Trait for displayer options that needs view modes for several elements.

The view modes must be defined by the displayer

Table of Contents

defineViewModesDefaultValues()  : array<string|int, mixed>
defineViewModesOptions()  : array<string|int, mixed>
defineViewModesRules()  : array<string|int, mixed>

Methods

defineViewModesDefaultValues()

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

defineViewModesOptions()

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

defineViewModesRules()

public defineViewModesRules() : array<string|int, mixed>
Tags
inheritDoc
Return values
array<string|int, mixed>

Search results