You are here

function views_handler_field_signup_status in Signup 5.2

Displays a field indicating if signups are open or closed.

1 string reference to 'views_handler_field_signup_status'
_signup_views_tables in views/views.inc
Private implementation of hook_views_tables().

File

views/views.inc, line 232
Provides support for Views integration.

Code

function views_handler_field_signup_status($fieldinfo, $fielddata, $value, $data) {
  return $value == 0 ? t('Closed') : t('Open');
}