Hi,

The node_load_multiple function is deprecated.
Change all "node_load" to "\Drupal\node\Entity\Node::loadMultiple()."

Node Load Multiple Deprecated

Comments

mgoncalves created an issue. See original summary.

mgoncalves’s picture

Assigned: mgoncalves » Unassigned
Status: Active » Needs review
StatusFileSize
new767 bytes
tr’s picture

Category: Bug report » Task
hgunicamp’s picture

Status: Needs review » Reviewed & tested by the community

After apply the '' patch and use the command

find . -type f \( -name '*.inc' -or -name '*.module' -or -name '*.php' \) -exec grep --color=auto -e '\bnode_load_multiple\b' {} \+

I did not find any reference to 'node_load_multiple()' function.

So the patch worked for me.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: ubercart-update_node_load_multiple-2876748-2-8x.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

  • TR committed 0582554 on 8.x-4.x authored by mgoncalves
    Issue #2876748 by mgoncalves: Use Node::loadMultiple() instead of...
tr’s picture

Priority: Normal » Minor
Status: Needs work » Fixed

(The 1 test failure is due to a Drupal core 8.5.x regression and is not related to this patch).

Thanks. Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.