Get Latest
Component ID
2134771
Component name
Get Latest
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
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);
