mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8226 from botzkobg/3.7
Add 'updateComponents' extend in DataObject->getComponents()
This commit is contained in:
commit
00a263092e
@ -1639,6 +1639,8 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
}
|
||||
|
||||
if($this->model) $result->setDataModel($this->model);
|
||||
|
||||
$this->extend('updateComponents', $result);
|
||||
|
||||
return $result
|
||||
->forForeignID($this->ID)
|
||||
|
Loading…
Reference in New Issue
Block a user