mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENH Provide onBeforeRenderHolder extension hook.
GridField has onBeforeRender in its Field method, but that hardly ever gets called. This commit adds the onBeforeRenderHolder extension hook that is normally available via FormField::FieldHolder().
This commit is contained in:
parent
bcddf557e1
commit
d710990e13
@ -438,6 +438,8 @@ class GridField extends FormField
|
||||
*/
|
||||
public function FieldHolder($properties = [])
|
||||
{
|
||||
$this->extend('onBeforeRenderHolder', $this, $properties);
|
||||
|
||||
$columns = $this->getColumns();
|
||||
|
||||
$list = $this->getManipulatedList();
|
||||
|
Loading…
Reference in New Issue
Block a user