You are here

function table_trash_update_config_access_callback in Table Trash 7

Access callback to determine if the update page should be shown.

1 string reference to 'table_trash_update_config_access_callback'
table_trash_menu in ./table_trash.module
Implements hook_menu().

File

./table_trash.module, line 61
table_trash.module

Code

function table_trash_update_config_access_callback() {
  $perm = user_access('configure table decorations');
  $var = variable_get('table_trash_decorations');
  return $perm && $var;
}