public function handle(GetPropertyOptionsEvent $event)
    {
        if (!$this->wantToHandle($event)) {
            return;
        }

        $options = [];
        foreach ($this->conditionFactory->getTypeNames() as $condition) {
            $options[$condition] = $this->translator->trans(
                'tl_metamodel_dcasetting_condition.conditionnames.' . $condition,
                [],
                'contao_tl_metamodel_dcasetting_condition'
            );
        }

        $event->setOptions($options);
    }