It works as a custom renderer feature. All objects in the target layer group would be outlined.
I used approach from this gist, but changed some parts to make it work (original version did not work for me).
Please check URP renderer asset for outline settings.