Peoples Blog: node_get_recent() is deprecated in Drupal 10.1.x

node_get_recent() is unused in core and is now deprecated, developers can use views or EntityQuery to get the nodes which are recently modified or added. Earlier drupal developers used to use the function node_get_recent() to get the recently changed nodes like seen in below example $latest_updated_nodes = node_get_recent(10); Now from Drupal 10.1.x onwards, developers need to use entity q
PubDate

Tags