code: 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);
      }
docs: Provide options for property condition types.
  
  @param GetPropertyOptionsEvent $event The event.
  
  @return void
  
  @SuppressWarnings(PHPMD.Superglobals)
  @SuppressWarnings(PHPMD.CamelCaseVariableName)