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