function boolean_value_info in Boolean Field 7
Returns boolean values and related strings.
7 calls to boolean_value_info()
- boolean_field_formatter_view in ./
boolean.module - Implements hook_field_formatter_view().
- boolean_field_instance_settings_form in ./
boolean.module - Implements hook_field_instance_settings_form().
- boolean_field_instance_settings_form_after_build in ./
boolean.module - Form handler for after_build.
- boolean_field_widget_form in ./
boolean.module - Implements hook_field_widget_form().
- EntityMetadataWrapperNumberBoolean::validate in ./
boolean.rules.inc - Returns whether $value is a valid value to set.
File
- ./
boolean.module, line 234 - Defines boolean field type.
Code
function boolean_value_info() {
return array(
-1 => 'none',
0 => 'false',
1 => 'true',
);
}