Skip to content
Snippets Groups Projects
Commit eebb9798 authored by Yannick's avatar Yannick Committed by Tim Plunkett
Browse files

Issue #1791372 by yannickoo: Added 0 and 1 to views_handler_field_boolean().

parent ee1c96b4
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -46,6 +46,7 @@ public function init(&$view, &$options) { ...@@ -46,6 +46,7 @@ public function init(&$view, &$options) {
'true-false' => array(t('True'), t('False')), 'true-false' => array(t('True'), t('False')),
'on-off' => array(t('On'), t('Off')), 'on-off' => array(t('On'), t('Off')),
'enabled-disabled' => array(t('Enabled'), t('Disabled')), 'enabled-disabled' => array(t('Enabled'), t('Disabled')),
'boolean' => array(1, 0),
'unicode-yes-no' => array('✔', '✖'), 'unicode-yes-no' => array('✔', '✖'),
); );
$output_formats = isset($this->definition['output formats']) ? $this->definition['output formats'] : array(); $output_formats = isset($this->definition['output formats']) ? $this->definition['output formats'] : array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment