I'm looking to add a custom fields to the details
section on the right of the entry edit view in the control panel.
I know that in Craft 2 this was possible using:
Craft::$app->view->hook('cp.entries.edit.details', functionThatReturnsView())
Is there a more Craft 3 way to do this or do we still use the Craft 2 API for this kind of extension to control panel?