mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Allow extensions to update form scaffolding on DataObjects
This commit is contained in:
parent
b0dccc7b75
commit
59ba9a717d
@ -2318,6 +2318,8 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
$fs->fieldClasses = $params['fieldClasses'];
|
||||
$fs->ajaxSafe = $params['ajaxSafe'];
|
||||
|
||||
$this->extend('updateFormScaffolder', $fs, $this);
|
||||
|
||||
return $fs->getFieldList();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user