This event gets emitted when a legend class name is set.

This class solely implements the ContainerAwareInterface.

 Methods

Create a new instance.

__construct(string $legendClassName, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Builder\PaletteBuilder $paletteBuilder) 

Parameters

$legendClassName

string

The class name.

Retrieve the class name.

getLegendClassName() : string

Returns

string

Set the legend class name.

setLegendClassName(string $legendClassName) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Builder\Event\SetLegendClassNameEvent

 Properties

 

The class name.

$legendClassName : string

 Constants

 

NAME

NAME