public function generateObjectUrl($name, $object, array $parameters = array(), $absolute = false)
    {
        if ($name != 'list') {
            return parent::generateObjectUrl($name, $object, $parameters, $absolute);
        }

        return parent::generateObjectUrl($name, $object->getForm(), $parameters, $absolute);
    }
public function generateObjectUrl($name, $object, array $parameters = array(), $absolute = false)
    {
        if ($name != 'list') {
            return parent::generateObjectUrl($name, $object, $parameters, $absolute);
        }

        return parent::generateObjectUrl($name, $object->getForm(), $parameters, $absolute);
    }
public function generateObjectUrl ( $ name , $ object , array $ parameters = array ( ) , $ absolute = false ) { if ( $ name != 'list' ) { return parent :: generateObjectUrl ( $ name , $ object , $ parameters , $ absolute ) ; } return parent :: generateObjectUrl ( $ name , $ object -> getForm ( ) , $ parameters , $ absolute ) ; }
This is to create the correct route when going back to the form edit instead of the field list.

@param string $name
@param mixed  $object
@param array  $parameters

@return string return a complete url
This is to create the correct route when going back to the form edit instead of the field list .