src/acme/sitioBundle/Controller/tipoWidgetController.php
/**
    * Creates a form to edit a tipoWidget entity.
    *
    * @param tipoWidget $entity The entity
    *
    * @return \Symfony\Component\Form\Form The form
    */
Creates a form to edit a tipoWidget entity.
@param tipoWidget $entity The entity

@return \Symfony\Component\Form\Form The form
Creates a form to edit a tipoWidget entity . @param tipoWidget $entity The entity @return \ Symfony \ Component \ Form \ Form The form
private function createEditForm(tipoWidget $entity)
    {
        $form = $this->createForm(new tipoWidgetType(), $entity, array(
            'action' => $this->generateUrl('tipowidget_update', array('id' => $entity->getId())),
            'method' => 'PUT',
        ));
        $form->add('submit', 'submit', array('label' => 'Update'));
        return $form;
    }
private function createEditForm ( tipoWidget $ entity ) { $ form = $ this -> createForm ( new tipoWidgetType ( ) , $ entity , array ( 'action' => $ this -> generateUrl ( 'tipowidget_update' , array ( 'id' => $ entity -> getId ( ) ) ) , 'method' => 'PUT' , ) ) ; $ form -> add ( 'submit' , 'submit' , array ( 'label' => 'Update' ) ) ; return $ form ; }
Creates a form to edit a tipoWidget entity.
Creates a form to edit a tipoWidget entity .