mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Add 'updateComponents' extend in DataObject->getComponents()
This commit is contained in:
parent
ef09092450
commit
d247027d0f
@ -1640,6 +1640,8 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
|
||||
if($this->model) $result->setDataModel($this->model);
|
||||
|
||||
$this->extend('updateComponents', $result);
|
||||
|
||||
return $result
|
||||
->forForeignID($this->ID)
|
||||
->where($filter)
|
||||
|
Loading…
x
Reference in New Issue
Block a user