CoreBundle/Controller/ParameterController.php
private function createDeleteForm(Parameter $entity)
    {
        return $this->createFormBuilder()
            ->setAction($this->generateUrl('core_parameter_delete', array('id' => $entity->getId())))
            ->setMethod('DELETE')
            ->getForm()
        ;
    }
private function createDeleteForm(Parameter $entity)
    {
        return $this->createFormBuilder()
            ->setAction($this->generateUrl('core_parameter_delete', array('id' => $entity->getId())))
            ->setMethod('DELETE')
            ->getForm()
        ;
    }
private function createDeleteForm ( Parameter $ entity ) { return $ this -> createFormBuilder ( ) -> setAction ( $ this -> generateUrl ( 'core_parameter_delete' , array ( 'id' => $ entity -> getId ( ) ) ) ) -> setMethod ( 'DELETE' ) -> getForm ( ) ; }
Creates a form to delete a parameter entity.

@param Parameter $parameter The parameter entity

@return \Symfony\Component\Form\Form The form
Creates a form to delete a parameter entity .