From 3d80aa3ad9cf69b8ab82ebbb5e966176883aae71 Mon Sep 17 00:00:00 2001 From: Ivaylo Kadiyski Date: Thu, 19 Dec 2024 22:15:55 +0200 Subject: [PATCH] Update src/Field/Configurator/BooleanConfigurator.php Co-authored-by: Alexis Lefebvre --- src/Field/Configurator/BooleanConfigurator.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Field/Configurator/BooleanConfigurator.php b/src/Field/Configurator/BooleanConfigurator.php index 7ef063639d..1d71c8821a 100644 --- a/src/Field/Configurator/BooleanConfigurator.php +++ b/src/Field/Configurator/BooleanConfigurator.php @@ -35,8 +35,6 @@ public function configure(FieldDto $field, EntityDto $entityDto, AdminContext $c $isRenderedAsSwitch = true === $field->getCustomOption(BooleanField::OPTION_RENDER_AS_SWITCH); if ($isRenderedAsSwitch) { - // this happens when processing fields not for a specific entity (e.g. when - // rendering the filters from the 'index' page) $crudDto = $context->getCrud();