Closed alexander-schranz closed 6 years ago
Added contact documents upload and fixed profile without avatar.
Sometimes you want to allow that a community user can upload files to its contact.
$builder->add( 'medias', FileType::class, [ 'label' => 'attendance_confirmation', 'mapped' => false, 'required' => false, 'multiple' => true, ] );
Did keep the saveAvatar function to avoid any bc breaks.
What's in this PR?
Added contact documents upload and fixed profile without avatar.
Why?
Sometimes you want to allow that a community user can upload files to its contact.
Example Usage
BC Breaks/Deprecations
Did keep the saveAvatar function to avoid any bc breaks.