src/CoreBundle/EventListener/DcGeneral/Table/DcaSetting/RemoveOverrideButtonListener.php
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);
    }
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);
    }
Remove the select button when in list view and override/edit all is active.

@param GetSelectModeButtonsEvent $event The event.

@return void