Verified Commit 2e636177 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3381660 by chesn0k: Documentation problem with node_is_page

parent b1eddcbb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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();