function theme_module_grants_viewable_nodes in Module Grants 6
Display in a table a summary of all content viewable to the logged-in user.
1 theme call to theme_module_grants_viewable_nodes()
- module_grants_viewable_nodes in ./
module_grants.module - Menu callback to list all content viewable to the logged-in user.
File
- ./
module_grants.module, line 257 - Module to enable access control for unpublished content. Also makes sure that modules that operate on access grants behave in the expected way when enabled together.
Code
function theme_module_grants_viewable_nodes() {
$nodes = get_nodes('view');
return _theme_nodes($nodes);
}