Commit 8833d4cf authored by webchick's avatar webchick
Browse files

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

parent edf46d88
......@@ -1407,8 +1407,8 @@ public function buildOptionsForm(&$form, &$form_state) {
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment