Entity URI callback.
Drupal\node\Node $node: A node entity.
array An array with 'path' as the key and the path to the node as its value.
function node_uri(Node $node) { return array( 'path' => 'node/' . $node->nid, ); }