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

editAction() public method

Displays a form to edit an existing AdminFileentity.
public editAction ( AdminFile $entity ) : Response
$entity Ojs\AdminBundle\Entity\AdminFile
return Symfony\Component\HttpFoundation\Response
    public function editAction(AdminFile $entity)
    {
        $this->throw404IfNotFound($entity);
        $editForm = $this->createEditForm($entity);
        return $this->render('OjsAdminBundle:AdminFile:edit.html.twig', array('entity' => $entity, 'edit_form' => $editForm->createView()));
    }