Issue #2318981 by grisendo: Make hook_node_grants and hook_node_access_records sample function bodies consistent