Get Latest
Component type
Maintenance status
Development status
Component created
Component changed
A super-simple module to help you obtain the latest node with a function without using views.
USAGE:
$latest = get_latest('article');
If you want to include unpublished results:
$latest = get_latest('article', FALSE);
