I have this code
->add(\'user\', \'entity\', array(
\'class\' => \'Acme\\Entity\\User\',
\'quer
You can use the one of the following:
Set a default value in the object
$cl->setUser($this->getDoctrine()->getEntityManager()->getReference('Acme:User',2));
Use a preferred choices option in the form builder:
'preferred_choices' => array('2')
Or set 'property_path' => false and use a 'data' => YourDefaultEnity