private function createEditForm(JournalFile $entity)
{
$form = $this->createForm(new JournalFileType(), $entity, ['action' => $this->generateUrl('ojs_journal_filemanager_update', ['id' => $entity->getId(), 'journalId' => $entity->getJournal()->getId()]), 'method' => 'PUT']);
$form->add('submit', 'submit', ['label' => 'Update']);
return $form;
}