RenderableVariant implements RenderableVariantInterface

Scope: frontend **This class is NOT meant to be sub classed by developers.**

Internal

Table of Contents

Interfaces

RenderableVariantInterface
Scope: frontend **This class is NOT meant to be sub classed by developers.**

Properties

$applied  : bool
$condition  : string
$identifier  : string
$options  : array<string|int, mixed>
$renderable  : VariableRenderableInterface

Methods

__construct()  : mixed
apply()  : void
Apply the specified variant to this form element regardless of their conditions
conditionMatches()  : bool
getIdentifier()  : string
isApplied()  : bool

Properties

$condition

protected string $condition = ''

$options

protected array<string|int, mixed> $options

Methods

apply()

Apply the specified variant to this form element regardless of their conditions

public apply() : void

conditionMatches()

public conditionMatches(Resolver $conditionResolver) : bool
Parameters
$conditionResolver : Resolver
Return values
bool

getIdentifier()

public getIdentifier() : string
Return values
string

isApplied()

public isApplied() : bool
Return values
bool

        
On this page

Search results