Tried several things found in docs (see below) but sometimes it’s not clear if more core files need to be overridden before another override will work.
And this one:
hxxps://documentation.concretecms.org/developers/framework/extending-concrete5-with-custom-code/extending-core-classes-in-the-application-directory
But no result. Sometimes it’s not clear for which cms version the code is applicable to.
But from past experiences I know it sometimes takes more than just changing/overriding 1 file.