Task: Create a view with link to it displayed among node tabs (View, Edit, etc.).
Solution: Create a view with page display and set its path to "node/%node/foo".
Issue: When the page "node/%node/foo" is visited,
\Drupal::routeMatch()->getParameter('node') returns node ID instead of node object.
Is there a simple way to make it return the node object? (Currently I have to alter the view route and set the parameter type.)