private createEditForm ( Ojs\JournalBundle\Entity\ArticleFile $entity, |
||
$entity | Ojs\JournalBundle\Entity\ArticleFile | The entity |
$journal | ||
$article | ||
return | The form |
private function createEditForm(ArticleFile $entity, Journal $journal, Article $article)
{
$form = $this->createForm(new ArticleFileType(), $entity, ['action' => $this->generateUrl('ojs_journal_article_file_update', ['id' => $entity->getId(), 'journalId' => $journal->getId(), 'articleId' => $article->getId()]), 'method' => 'PUT']);
return $form;
}