NEW: Add onBeforeRender() hook to GridField

This commit is contained in:
Loz Calver 2016-03-27 10:55:58 +01:00
parent 0ce257495b
commit 1e7281a2ba

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);
}