diff --git a/core/modules/node/node.module b/core/modules/node/node.module index a937c03e2128161ce2cb9229f93b70b94cbaf6cb..f47dbb754094f566b00b9891709cb1c2465e9c8b 100644 --- a/core/modules/node/node.module +++ b/core/modules/node/node.module @@ -399,8 +399,8 @@ function node_revision_delete($revision_id) { * @param \Drupal\node\NodeInterface $node * A node entity. * - * @return int|false - * The ID of the node if this is a full page view, otherwise FALSE. + * @return bool + * TRUE if this is a full page view, otherwise FALSE. */ function node_is_page(NodeInterface $node) { $route_match = \Drupal::routeMatch();