mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #5234 from kinglozzer/gridfield-onbeforerender
NEW: Add onBeforeRender() hook to GridField
This commit is contained in:
commit
f6dca68be1
@ -592,6 +592,7 @@ class GridField extends FormField {
|
||||
* @return HTMLText
|
||||
*/
|
||||
public function Field($properties = array()) {
|
||||
$this->extend('onBeforeRender', $this);
|
||||
return $this->FieldHolder($properties);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user