mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
GridFieldDetailForm_ItemRequest->getRecord()
This commit is contained in:
parent
ca1f9a58f4
commit
802b46bd0a
@ -193,6 +193,7 @@ class GridFieldDetailForm implements GridField_URLHandler {
|
|||||||
public function getItemEditFormCallback() {
|
public function getItemEditFormCallback() {
|
||||||
return $this->itemEditFormCallback;
|
return $this->itemEditFormCallback;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -627,6 +628,13 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler {
|
|||||||
return $this->gridField;
|
return $this->gridField;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return DataObject
|
||||||
|
*/
|
||||||
|
public function getRecord() {
|
||||||
|
return $this->record;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CMS-specific functionality: Passes through navigation breadcrumbs
|
* CMS-specific functionality: Passes through navigation breadcrumbs
|
||||||
* to the template, and includes the currently edited record (if any).
|
* to the template, and includes the currently edited record (if any).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user