Ojs\AdminBundle\Controller\AdminContactController::newAction PHP Method

newAction() public method

Displays a form to create a new JournalContact entity.
public newAction ( ) : Response
return Symfony\Component\HttpFoundation\Response
    public function newAction()
    {
        $entity = new JournalContact();
        $form = $this->createCreateForm($entity);
        return $this->render('OjsAdminBundle:AdminContact:new.html.twig', array('entity' => $entity, 'form' => $form->createView()));
    }