How to extend an extension

SS4

How to extend an extension?

PageType is extend by FirstExtension
FirstExtension should be extended by SecondExtension

Ist that possible with Silverstripe?

Thanks in advance

Regards Fabian

// Include any relevant code. If you have a lot of code, link to a gist instead.

I realized that if I have a second Extension extending the same object and both extension have the same function. The function of the last Extension added in config will survive :slight_smile:

Is that the trick? So it wouldn’t be possible to hook into a function from the first extension…:frowning: