definition['uses fields']); return $has_fields; } function option_definition() { $options = parent::option_definition(); $options['messages'] = array('default' => TRUE); return $options; } function options_form(&$form, &$form_state) { $form['messages'] = array( '#type' => 'checkbox', '#title' => t('Display messages'), '#default_value' => $this->options['messages'], ); } /** * Override the behavior of the render() function. */ function render($row) { return theme($this->theme_functions(), $this->view, $this->options, $row); } }