code: public function removeButton(GetSelectModeButtonsEvent $event)
      {
          if (('tl_metamodel_dcasetting' !== $event->getEnvironment()->getDataDefinition()->getName())
              || ('select' !== $event->getEnvironment()->getInputProvider()->getParameter('act'))
          ) {
              return;
          }
  
          $buttons = $event->getButtons();
          unset($buttons['override']);
  
          $event->setButtons($buttons);
      }
docs: Remove the select button when in list view and override/edit all is active.
  
  @param GetSelectModeButtonsEvent $event The event.
  
  @return void