src/CoreBundle/EventListener/DcGeneral/Table/FilterSetting/AbstractFilterSettingTypeRenderer.php
protected function getLabelImage(ModelInterface $model)
    {
        $typeFactory = $this->factory->getTypeFactory($model->getProperty('type'));

        $image = $this->iconBuilder->getBackendIconImageTag(
            $this->updateImageWithDisabled($model, $typeFactory->getTypeIcon()),
            '',
            '',
            $this->updateImageWithDisabled($model, 'bundles/metamodelscore/images/icons/filter_default.png')
        );

        /** @var AddToUrlEvent $urlEvent */
        $urlEvent = $this->dispatcher->dispatch(
            ContaoEvents::BACKEND_ADD_TO_URL,
            new AddToUrlEvent('act=edit&amp;id='.$model->getId())
        );

        return sprintf(
            '<a href="%s">%s</a>',
            $urlEvent->getUrl(),
            $image
        );
    }
protected function getLabelImage(ModelInterface $model)
    {
        $typeFactory = $this->factory->getTypeFactory($model->getProperty('type'));

        $image = $this->iconBuilder->getBackendIconImageTag(
            $this->updateImageWithDisabled($model, $typeFactory->getTypeIcon()),
            '',
            '',
            $this->updateImageWithDisabled($model, 'bundles/metamodelscore/images/icons/filter_default.png')
        );

        /** @var AddToUrlEvent $urlEvent */
        $urlEvent = $this->dispatcher->dispatch(
            ContaoEvents::BACKEND_ADD_TO_URL,
            new AddToUrlEvent('act=edit&amp;id='.$model->getId())
        );

        return sprintf(
            '<a href="%s">%s</a>',
            $urlEvent->getUrl(),
            $image
        );
    }
Retrieve the image for the label.

@param ModelInterface $model The filter setting to render.

@return string