Hi all! I have two entity classes:
1) class Device - the device that contains the winch /** * @var AppBundle\Entity\Winch * @ORM\OneToOne(targetEntity="AppBundle\Entity\Winch",cascade={"persist","refresh","remove"}, orphanRemoval=true) * @ORM\JoinColumn(name="winch_id", referencedColumnName="id", nullable=true) */ protected $winch; 2) class Winch - contains a detailed structure of the winch. In DeviceAdmin I try use protected function configureFormFields(FormMapper $formMapper) { ... $formMapper ->tab('form.label_engine1') ->add('winch', 'sonata_type_admin') ->end() ->end(); ... } but I don't get the expected fields: 1) http://www.awesomescreenshot.com/0e5678z2f8 - Form for Device class 2) http://www.awesomescreenshot.com/00c678z16c - Form for Winch class How to get the location of blocks in DeviceAdmin like as WinchAdmin ? Thanks -- You received this message because you are subscribed to the Google Groups "sonata-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sonata-users+unsubscr...@googlegroups.com. To post to this group, send email to sonata-users@googlegroups.com. Visit this group at https://groups.google.com/group/sonata-users. For more options, visit https://groups.google.com/d/optout.