minor #2350 Pass the $form to updateEntity and persistEntity (lyrixx)
minor #2350 Pass the $form to updateEntity and persistEntity (lyrixx)

This PR was squashed before being merged into the 1.x branch (closes #2350).

Discussion
----------

Pass the $form to updateEntity and persistEntity

Use case: One form field is not mapped to the entity, and I need
the value in the `updateEntity` method.

This field is a checkbox. If the checkbox is checked, I use the
workflow component to `apply` a transition.

Commits
-------

add03604 Pass the $form to updateEntity and persistEntity

yceruto/EasyAdminBundle,yceruto/EasyAdminBundle,OskarStark/EasyAdminBundle,javiereguiluz/EasyAdminBundle,javiereguiluz/EasyAdminBundle,OskarStark/EasyAdminBundle,OskarStark/EasyAdminBundle,yceruto/EasyAdminBundle