mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 01:31:22 +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);
|
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