From f8afaa2fdc629bd831b012e0838926ddd4a25d38 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon <yahgrp@poplarware.com> Date: Fri, 2 May 2014 16:43:04 -0700 Subject: [PATCH] Issue #2255073 by jmarkel: Fix up docs for node_uri() function --- core/modules/node/node.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/node/node.module b/core/modules/node/node.module index 4092e76e9295..8973c7eaac30 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( -- GitLab