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

editAction() public method

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