function theme_dna_permission in Devel 5
Same name and namespace in other branches
- 6 devel_node_access.module \theme_dna_permission()
- 7 devel_node_access.module \theme_dna_permission()
Indicate whether user has a permission or not.
TODO: use good looking images.
1 theme call to theme_dna_permission()
File
- ./
devel_node_access.module, line 540 - This module gives developers feedback as to what their node_access table contains, and which nodes are protected or visible to the public.
Code
function theme_dna_permission($permission) {
if ($permission) {
return t('yes');
}
else {
return t('no');
}
}