You are here

function _system_charts_user_status_label in Google Chart Tools: Image Charts 6

Same name and namespace in other branches
  1. 5 contrib/system_charts/system_charts.module \_system_charts_user_status_label()
  2. 7 system_charts/system_charts.module \_system_charts_user_status_label()

Return user status label

1 call to _system_charts_user_status_label()
system_charts_build in contrib/system_charts/system_charts.module
Gather data and build a chart API structure.

File

contrib/system_charts/system_charts.module, line 360
Provides core Drupal chart implementations.

Code

function _system_charts_user_status_label($status) {
  return $status ? t('Active') : t('Blocked');
}