This event is emitted when an condition is added by the palette builder.
__construct(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PaletteConditionInterface|\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface $condition, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteInterface|\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface $target, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Builder\PaletteBuilder $paletteBuilder)
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PaletteConditionInterface
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface
The condition being added.
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteInterface
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface
The target property or palette.
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Builder\PaletteBuilder
The palette builder in use.
getCondition() : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PaletteConditionInterface | \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface
getTarget() : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteInterface | \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface
setCondition(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PaletteConditionInterface|\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface $condition) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Builder\Event\AddConditionEvent
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PaletteConditionInterface
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface
The condition.
\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralInvalidArgumentException |
When an invalid condition has been passed. |
---|
setTarget(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteInterface|\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface $target) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Builder\Event\AddConditionEvent
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteInterface
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface
The target property or palette.
\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralInvalidArgumentException |
When an invalid target has been passed. |
---|
$condition : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PaletteConditionInterface | \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyConditionInterface
$target : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PaletteInterface | \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface
NAME