Custom entries.php

Hello everyone,
Is it possible to edit the entries.php file present in modules/Collections/views/partials in complete safety by putting a folder in config as for tags?

Example in config make the cockpit\collections\views\partials folder and put my entries.php

Thanks for the support

You can’t replace it globally, but per collection. See:

So if your collection name is ‘pages’, create a file /config/collections/pages/views/entries.php.