code: public function handle(ModelToLabelEvent $event)
      {
          if (!$this->wantToHandle($event)) {
              return;
          }
  
          $environment    = $event->getEnvironment();
          $model          = $event->getModel();
          $metaModel      = $this->getMetaModel($environment);
          $attribute      = $metaModel->getAttributeById($model->getProperty('attr_id'));
          $type           = $model->getProperty('type');
          $parameterValue = (\is_array($model->getProperty('value'))
              ? implode(', ', $model->getProperty('value'))
              : $model->getProperty('value'));
  
          $name = $this->translator->trans(
              'tl_metamodel_dcasetting_condition.conditionnames.' . $type,
              [],
              'contao_tl_metamodel_dcasetting_condition'
          );
  
          $event
              ->setLabel($this->getLabelText($type))
              ->setArgs([
                  $this->iconBuilder->getBackendIconImageTag(
                      'bundles/metamodelscore/images/icons/filter_default.png',
                      $name,
                      '',
                      'bundles/metamodelscore/images/icons/filter_default.png'
                  ),
                  $name,
                  $attribute ? $attribute->getName() : '' . $model->getProperty('attr_id'),
                  $parameterValue
              ]);
      }
docs: Render the html for the input screen condition.
  
  @param ModelToLabelEvent $event The event.
  
  @return void
  
  @SuppressWarnings(PHPMD.Superglobals)
  @SuppressWarnings(PHPMD.CamelCaseVariableName)