This event gets emitted when a legend is created.
__construct(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Builder\PaletteBuilder $paletteBuilder)
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface
The legend being created.
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Builder\PaletteBuilder
The palette builder in use.
getLegend() : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface
setLegend(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Builder\Event\CreateLegendEvent
$legend : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface
NAME