mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
Renamed conflicting $object->getOriginal() to $object->getOriginalData()
This commit is contained in:
parent
1350cf5675
commit
350134b256
|
|
@ -6,7 +6,7 @@
|
|||
* Added `route` and `request` to `onPageNotFound` event
|
||||
* Added file upload/remove support for `Flex Forms`
|
||||
* Added support for `flex-required@: not exists` and `flex-required@: '!exists'` in blueprints
|
||||
* Added `$object->getOriginal()` to get flex objects data before it was modified with `update()`
|
||||
* Added `$object->getOriginalData()` to get flex objects data before it was modified with `update()`
|
||||
* Throwing exceptions from Twig templates fires `onDisplayErrorPage.[code]` event allowing better error pages
|
||||
3. [](#bugfix)
|
||||
* Fixed escaping in PageIndex::getLevelListing()
|
||||
|
|
|
|||
|
|
@ -448,7 +448,7 @@ class FlexObject implements FlexObjectInterface, FlexAuthorizeInterface
|
|||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getOriginal(): array
|
||||
public function getOriginalData(): array
|
||||
{
|
||||
return $this->_original ?? [];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user