diff --git a/Admin/EmailAdmin.php b/Admin/EmailAdmin.php index 062ca7d..65e33d7 100644 --- a/Admin/EmailAdmin.php +++ b/Admin/EmailAdmin.php @@ -88,7 +88,7 @@ protected function configureFormFields(FormMapper $formMapper) 'headers', 'sonata_type_native_collection', array( - 'type' => HeaderType::class, + 'entry_type' => HeaderType::class, 'allow_add' => true, 'allow_delete' => true, )