Class BuildWidgetEvent
Class BuildWidgetEvent.
This event is being emitted when the widget manager wants to create a new widget instance.
- Symfony\Component\EventDispatcher\Event
-
DcGeneral\Event\AbstractEnvironmentAwareEvent implements DcGeneral\EnvironmentAwareInterface
-
DcGeneral\Event\AbstractModelAwareEvent implements DcGeneral\ModelAwareInterface
-
DcGeneral\Contao\View\Contao2BackendView\Event\BuildWidgetEvent
Namespace: DcGeneral\Contao\View\Contao2BackendView\Event
Package: DcGeneral\Contao\View\Contao2BackendView\Event
Located at Contao/View/Contao2BackendView/Event/BuildWidgetEvent.php
Package: DcGeneral\Contao\View\Contao2BackendView\Event
Located at Contao/View/Contao2BackendView/Event/BuildWidgetEvent.php
public
|
#
__construct(
Create a new event. |
public
|
|
public
Widget
|
|
public
|
#
getProperty( )
Retrieve the property definition from the event for which the widget shall be instantiated. |
getModel()
|
getEnvironment()
|
string |
NAME
|
'dc-general.view.contao2backend.build-widget' |
#
The name of the event. |
protected
|
$property |
|
#
The property for which a widget shall get instantiated. |
protected
Widget
|
$widget |
|
#
The instantiated widget. |
$model
|
$environment
|