mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Add onBeforeRenderHolder extension point for FormField
This commit is contained in:
parent
f3132c89d7
commit
4a32b3418a
@ -1036,6 +1036,8 @@ class FormField extends RequestHandler
|
|||||||
{
|
{
|
||||||
$context = $this;
|
$context = $this;
|
||||||
|
|
||||||
|
$this->extend('onBeforeRenderHolder', $context, $properties);
|
||||||
|
|
||||||
if (count($properties)) {
|
if (count($properties)) {
|
||||||
$context = $this->customise($properties);
|
$context = $this->customise($properties);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user