Sorry, I misread your original post. Yes you can use the Superhub as a router, albeit a very rubbish one. The Unifi already comes with a PoE injector. I don't think the switch you mentioned has the correct voltage for the Unifi. You could put your Superhub in modem mode & use this as a router - I believe it is compatible with the Unifi's PoE requirements.
A switch for the Poe ? Can’t I use the virgin hub as a route r
You put your Superhub into modem mode via the hub settings web page. The DLink you refer to is a switch, not a router and won't be suitable for this. You need a router, this is a good budget model.
Can someone create a bullet point guide to Set up with virgin superhub. Will this switch work 3.6 out of 5 stars 11 Reviews D-Link DGS-1008P Gigabit Unmanaged Desktop Switch with 4 PoE Ports
1. The cloud controller is optional. You can set up the device using the Android or IOS apps. If you have a Raspberry Pi on the go you can set up the cloud controller on that but it will work fine without it. 2. My device came from broadbandbuyer with a cloverleaf + EU cable in the box and a separate cloverleaf + UK plug. My understanding is that it's illegal to sell anything electrical without a UK plug so not sure if LambdaTek would be obliged to send on an appropriate adapter if challenged.