code/panels/DashboardGridFieldPanel.php
public function CreateModelLink() {
		if($grid = $this->getGrid()) {
			return Controller::join_links(
				Injector::inst()->get("CMSMain")->Link("edit"),
				"EditForm",
				"field",
				$this->GridFieldName,
				"item",
				"new",
				"?ID={$this->SubjectPageID}"
			);
		}
	}
public function CreateModelLink() {
		if($grid = $this->getGrid()) {
			return Controller::join_links(
				Injector::inst()->get("CMSMain")->Link("edit"),
				"EditForm",
				"field",
				$this->GridFieldName,
				"item",
				"new",
				"?ID={$this->SubjectPageID}"
			);
		}
	}
Gets a link to create a new record in a GridField

@return string