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:
Robbie Averill 2019-07-02 18:46:39 +12:00 committed by GitHub
commit fd88003646
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}