FALSE, 'bool' => TRUE); $options['separator'] = array('default' => ''); return $options; } /** * {@inheritdoc} */ public function options_form(&$form, &$form_state) { parent::options_form($form, $form_state); $form['inline'] = array( '#type' => 'checkbox', '#default_value' => !empty($this->options['inline']), '#title' => t('Display items inline'), ); $form['separator'] = array( '#type' => 'textfield', '#title' => t('Separator'), '#default_value' => $this->options['separator'], ); } }