mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #9100 from creative-commoners/pulls/4.4/dataobject-scaffolding-freedom
Allow extensions to modify form scaffolder in DataObject
This commit is contained in:
commit
fd88003646
@ -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