Commit f8afaa2f authored by jhodgdon's avatar jhodgdon
Browse files

Issue #2255073 by jmarkel: Fix up docs for node_uri() function

parent 99b367da
......@@ -230,8 +230,8 @@ function node_entity_form_display_alter(EntityFormDisplayInterface $form_display
* @param \Drupal\node\NodeInterface $node
* A node entity.
* @return array
* An array with 'path' as the key and the path to the node as its value.
* @return \Drupal\core\Url
* A Url object that provides a URL to the view page for $node.
function node_uri(NodeInterface $node) {
return new Url('node.view', array(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment