You are here

function theme_dna_permission in Devel 5

Same name and namespace in other branches
  1. 6 devel_node_access.module \theme_dna_permission()
  2. 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()
devel_node_access_block in ./devel_node_access.module

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');
  }
}