formActionPath) { return $this->formActionPath; } elseif ($this->controller->hasMethod("FormObjectLink")) { return $this->controller->FormObjectLink($this->name); } else { $gridFieldGetVars = $this->controller->getRequest()->getVar('q'); return Controller::join_links($this->controller->Link(), $this->name) . (!empty($gridFieldGetVars) ? '?' . http_build_query(array('q' => $gridFieldGetVars)) : '' ); } } }