mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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->fieldClasses = $params['fieldClasses'];
|
||||||
$fs->ajaxSafe = $params['ajaxSafe'];
|
$fs->ajaxSafe = $params['ajaxSafe'];
|
||||||
|
|
||||||
|
$this->extend('updateFormScaffolder', $fs, $this);
|
||||||
|
|
||||||
return $fs->getFieldList();
|
return $fs->getFieldList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user