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

editAction() public method

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