Merge pull request #5234 from kinglozzer/gridfield-onbeforerender

NEW: Add onBeforeRender() hook to GridField
This commit is contained in:
Damian Mooyman 2016-03-30 17:53:04 +13:00
commit f6dca68be1

View File

@ -592,6 +592,7 @@ class GridField extends FormField {
* @return HTMLText
*/
public function Field($properties = array()) {
$this->extend('onBeforeRender', $this);
return $this->FieldHolder($properties);
}