Hi, i have large entities with many relations, so the admin class it's ver very slow (in case it doesn't fail because of memory limits). I have configureFormFields like this:
->add('users', 'sonata_type_collection', array(
'cascade_validation' => true,
'required' => false,
), array(
'edit' => 'inline',
'inline' => 'table',
'admin_code' => 'simbiotica.calp.admin.organization_user'
))
My question is. Is there other way of representing relations in the form? I would like only a list of related entities and a link to edit it. Maybe i'm wrong, but i think its loading the whole entity to only represent a few fields and it's eating the memory.
Thanks!