Hot answers tagged


I was able to get it to use my class via the following in config/app.php 'container' => [ 'definitions' => [ \craft\elements\Entry::class => \modules\Entry::class ], ], But it doesnt seem like Craft is able to properly load data into it and I get runtime errors. When debugging, the class is instantiated and it ...

Only top voted, non community-wiki answers of a minimum length are eligible