src/CoreBundle/EventListener/DcGeneral/Table/DcaSettingCondition/ModelToLabelListener.php
protected function wantToHandle(AbstractEnvironmentAwareEvent $event)
    {
        return $event->getEnvironment()->getInputProvider()->hasParameter('mode')
            ? parent::wantToHandle($event)
              && ('select' === $event->getEnvironment()->getInputProvider()->getParameter('act'))
            : parent::wantToHandle(
                $event
            );
    }
protected function wantToHandle(AbstractEnvironmentAwareEvent $event)
    {
        return $event->getEnvironment()->getInputProvider()->hasParameter('mode')
            ? parent::wantToHandle($event)
              && ('select' === $event->getEnvironment()->getInputProvider()->getParameter('act'))
            : parent::wantToHandle(
                $event
            );
    }
{@inheritDoc}