code: public function handle(GetPropertyOptionsEvent $event)
      {
          if (('tl_metamodel_filtersetting' !== $event->getEnvironment()->getDataDefinition()->getName())
              || ('type' !== $event->getPropertyName())) {
              return;
          }
  
          $translator = $event->getEnvironment()->getTranslator();
          $options    = [];
          foreach ($this->filterFactory->getTypeNames() as $filter) {
              $options[$filter] = $translator->translate('typenames.' . $filter, 'tl_metamodel_filtersetting');
          }
  
          $event->setOptions($options);
      }
docs: Provide options for default selection.
  
  @param GetPropertyOptionsEvent $event The event.
  
  @return void