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

editAction() public method

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