Skip to content

Commit

Permalink
Merge pull request #9100 from creative-commoners/pulls/4.4/dataobject…
Browse files Browse the repository at this point in the history
…-scaffolding-freedom

Allow extensions to modify form scaffolder in DataObject
  • Loading branch information
robbieaverill authored Jul 2, 2019
2 parents 2e33456 + 59ba9a7 commit fd88003
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ORM/DataObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -2318,6 +2318,8 @@ public function scaffoldFormFields($_params = null)
$fs->fieldClasses = $params['fieldClasses'];
$fs->ajaxSafe = $params['ajaxSafe'];

$this->extend('updateFormScaffolder', $fs, $this);

return $fs->getFieldList();
}

Expand Down

0 comments on commit fd88003

Please sign in to comment.