function recently_read_is_enabled in Recently Read 6
Same name and namespace in other branches
- 7 recently_read.module \recently_read_is_enabled()
- 7.2 recently_read.module \recently_read_is_enabled()
1 call to recently_read_is_enabled()
File
- ./
recently_read.module, line 257 - Recently read module file. Displays a history of recently read nodes by currently logged in user.
Code
function recently_read_is_enabled($node_type) {
$enabled_types = variable_get('recently_read_node_types', array(
'page',
'story',
));
return in_array($node_type, $enabled_types);
}