Issue #1969624 by Bojhan: Simplify 'Hide attachments in summary'.

8.0.x
webchick 2013-04-14 13:07:43 -07:00
parent edf46d8857
commit 8833d4cf7b
1 changed files with 2 additions and 2 deletions

View File

@ -1407,8 +1407,8 @@ abstract class DisplayPluginBase extends PluginBase {
case 'hide_attachment_summary':
$form['#title'] .= t('Hide attachments when displaying a contextual filter summary');
$form['hide_attachment_summary'] = array(
'#type' => 'radios',
'#options' => array(1 => t('Yes'), 0 => t('No')),
'#type' => 'checkbox',
'#title' => t('Hide attachments in summary'),
'#default_value' => $this->getOption('hide_attachment_summary') ? 1 : 0,
);
break;