Ojs\AdminBundle\Controller\AdminJournalController::createCreateForm PHP Method

createCreateForm() private method

Creates a form to create a Journal entity.
private createCreateForm ( Journal $entity ) : Form
$entity Ojs\JournalBundle\Entity\Journal The entity
return Symfony\Component\Form\Form The form
    private function createCreateForm(Journal $entity)
    {
        $form = $this->createForm(new JournalType(), $entity, array('action' => $this->generateUrl('ojs_admin_journal_create'), 'method' => 'POST'));
        return $form;
    }