Controller/UserController.php
private function createDeleteLinkGroupCenterForm(User $user, GroupCenter $groupCenter)
    {
        return $this->createFormBuilder()
            ->setAction($this->generateUrl('admin_user_delete_group_center', 
                    array('uid' => $user->getId(), 'gcid' => $groupCenter->getId())))
            ->setMethod('DELETE')
            ->add('submit', 'submit', array('label' => 'Delete'))
            ->getForm()
        ;
    }
private function createDeleteLinkGroupCenterForm(User $user, GroupCenter $groupCenter)
    {
        return $this->createFormBuilder()
            ->setAction($this->generateUrl('admin_user_delete_group_center', 
                    array('uid' => $user->getId(), 'gcid' => $groupCenter->getId())))
            ->setMethod('DELETE')
            ->add('submit', 'submit', array('label' => 'Delete'))
            ->getForm()
        ;
    }
private function createDeleteLinkGroupCenterForm ( User $ user , GroupCenter $ groupCenter ) { return $ this -> createFormBuilder ( ) -> setAction ( $ this -> generateUrl ( 'admin_user_delete_group_center' , array ( 'uid' => $ user -> getId ( ) , 'gcid' => $ groupCenter -> getId ( ) ) ) ) -> setMethod ( 'DELETE' ) -> add ( 'submit' , 'submit' , array ( 'label' => 'Delete' ) ) -> getForm ( ) ; }
Creates a form to delete a link to a GroupCenter

@param mixed $permissionsGroup The entity id

@return \Symfony\Component\Form\Form The form
Creates a form to delete a link to a GroupCenter