diff --git a/core/modules/node/node.module b/core/modules/node/node.module index 4092e76e92950ff8238725f0d6ca2ace33565564..8973c7eaac303cb8b5822cadf9d982c1c9f0d7f8 100644 --- a/core/modules/node/node.module +++ b/core/modules/node/node.module @@ -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(