Class ManipulateWidgetEvent.

This event gets emitted when a widget shall get manipulated. This happens directly after all the initialization has been done. If you want to create the widget entirely by yourself refer to the BuildWidgetEvent event.
see

 Methods

Create a new event.

__construct(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment, \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface $property, \Widget $widget) 

Parameters

$environment

\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface

The environment in use.

$model

\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface

The model for which the widget is created.

$property

\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface

The property information for which the widget is created.

$widget

\Widget

The widget instance to manipulate.

Retrieve the widget instance.

getWidget() : \Widget

Returns

 Properties

 

The property information for which the widget has been created.

$property : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\PropertyInterface
 

The widget instance to manipulate.

$widget : \Widget

 Constants

 

NAME

NAME