TRUE); $options['hide_alter_empty'] = array('default' => FALSE); return $options; } function options_form(&$form, &$form_state) { parent::options_form($form, $form_state); // Remove the checkbox unset($form['alter']['alter_text']); unset($form['alter']['text']['#dependency']); unset($form['alter']['text']['#process']); } function render($values) { // Return the text, so the code never thinks the value is empty. return $this->options['alter']['text']; } }