public function handleGetAttributesFromDca(GetAttributesFromDcaEvent $event)
    {
        /** @var Widget $widgetAdapter */
        $widgetAdapter = $this->framework->getAdapter(Widget::class);

        $event->setResult(
            $widgetAdapter->getAttributesFromDca(
                $event->getFieldConfiguration(),
                $event->getWidgetName(),
                $event->getValue(),
                $event->getWidgetId(),
                $event->getTable(),
                $event->getDataContainer()
            )
        );
    }
public function handleGetAttributesFromDca(GetAttributesFromDcaEvent $event)
    {
        /** @var Widget $widgetAdapter */
        $widgetAdapter = $this->framework->getAdapter(Widget::class);

        $event->setResult(
            $widgetAdapter->getAttributesFromDca(
                $event->getFieldConfiguration(),
                $event->getWidgetName(),
                $event->getValue(),
                $event->getWidgetId(),
                $event->getTable(),
                $event->getDataContainer()
            )
        );
    }
public function handleGetAttributesFromDca ( GetAttributesFromDcaEvent $ event ) { /** @var Widget $widgetAdapter */ $ widgetAdapter = $ this -> framework -> getAdapter ( Widget :: class ) ; $ event -> setResult ( $ widgetAdapter -> getAttributesFromDca ( $ event -> getFieldConfiguration ( ) , $ event -> getWidgetName ( ) , $ event -> getValue ( ) , $ event -> getWidgetId ( ) , $ event -> getTable ( ) , $ event -> getDataContainer ( ) ) ) ; }
Handle the widget preparation.

@param GetAttributesFromDcaEvent $event The event.

@return void
Handle the widget preparation .