Parent Class for Objects
In addition to overriding model classes it is also possible to make the object model classes extend a certain parent class.
To do so, define a Parent class
in the classes' basic configuration as in the screen below.
The class will then extend the given parent class.
Please make sure, that your custom class itself extends Pimcore\Model\DataObject\Concrete
at some point in its class hierarchy.
Otherwise the object class will not work.
It is also possible to make the object listing model extend a certain parent class too.
To do so, define a Listing Parent class
in the classes basic configuration.
The listing class will then extend the given listing parent class.