src/CoreBundle/EventListener/DcGeneral/Table/SearchablePages/FilterParamWidgetListener.php
public function handle(BuildWidgetEvent $event)
    {
        if (!$this->wantToHandle($event) || ($event->getProperty()->getName() !== 'filterparams')) {
            return;
        }

        $model = $event->getModel();

        $objFilterSettings  = $this->settingFactory->createCollection($model->getProperty('filter'));
        $extra              = $event->getProperty()->getExtra();
        $extra['subfields'] = $objFilterSettings->getParameterDCA();
        $event->getProperty()->setExtra($extra);
    }
public function handle(BuildWidgetEvent $event)
    {
        if (!$this->wantToHandle($event) || ($event->getProperty()->getName() !== 'filterparams')) {
            return;
        }

        $model = $event->getModel();

        $objFilterSettings  = $this->settingFactory->createCollection($model->getProperty('filter'));
        $extra              = $event->getProperty()->getExtra();
        $extra['subfields'] = $objFilterSettings->getParameterDCA();
        $event->getProperty()->setExtra($extra);
    }
Build the filter params for the widget.

@param BuildWidgetEvent $event The event.

@return void