[Form] Fixed broken namespace paths
This commit is contained in:
parent
d152b5e265
commit
916e599937
@ -47,7 +47,7 @@
|
||||
<parameter key="doctrine.orm.proxy_cache_warmer.class">Symfony\Bundle\DoctrineBundle\CacheWarmer\ProxyCacheWarmer</parameter>
|
||||
|
||||
<!-- form field factory guesser -->
|
||||
<parameter key="form.field_factory.doctrine_guesser.class">Symfony\Component\Form\Extension\Doctrine\EntityFieldFactoryGuesser</parameter>
|
||||
<parameter key="form.field_factory.doctrine_guesser.class">Symfony\Component\Form\FieldFactory\EntityFieldFactoryGuesser</parameter>
|
||||
</parameters>
|
||||
|
||||
<services>
|
||||
|
@ -61,7 +61,7 @@ class EntityFieldFactoryGuesser implements FieldFactoryGuesserInterface
|
||||
$mapping = $metadata->getAssociationMapping($property);
|
||||
|
||||
return new FieldFactoryClassGuess(
|
||||
'Symfony\Component\Form\Extension\Doctrine\EntityChoiceField',
|
||||
'Symfony\Component\Form\EntityChoiceField',
|
||||
array(
|
||||
'em' => $this->em,
|
||||
'class' => $mapping['targetEntity'],
|
||||
|
Reference in New Issue
Block a user