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

newAction() public method

Displays a form to create a new AdminFileentity.
public newAction ( )
    public function newAction()
    {
        $entity = new AdminFile();
        $form = $this->createCreateForm($entity);
        return $this->render('OjsAdminBundle:AdminFile:new.html.twig', array('entity' => $entity, 'form' => $form->createView()));
    }