Skip to content

Commit

Permalink
Update src/Field/Configurator/BooleanConfigurator.php
Browse files Browse the repository at this point in the history
Co-authored-by: Alexis Lefebvre <[email protected]>
  • Loading branch information
kadiiski and alexislefebvre authored Dec 19, 2024
1 parent 9ba0560 commit 3d80aa3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Field/Configurator/BooleanConfigurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 3d80aa3

Please sign in to comment.