function views_handler_field_boolean::option_definition
Overrides views_handler_field::option_definition
File
-
handlers/
views_handler_field_boolean.inc, line 29
Class
- views_handler_field_boolean
- A handler to provide proper displays for booleans.
Code
public function option_definition() {
$options = parent::option_definition();
$options['type'] = array(
'default' => 'yes-no',
);
$options['type_custom_true'] = array(
'default' => '',
'translatable' => TRUE,
);
$options['type_custom_false'] = array(
'default' => '',
'translatable' => TRUE,
);
$options['not'] = array(
'definition bool' => 'reverse',
);
return $options;
}