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
        );
    }