You are here

function views_handler_field_heartbeat_message::options_form in Heartbeat 7

Default options form provides the label widget that all fields should have.

Overrides views_handler_field::options_form

File

views/views_handler_field_heartbeat_message.inc, line 20

Class

views_handler_field_heartbeat_message
Field handler to present a message for the activity.

Code

function options_form(&$form, &$form_state) {
  $form['text'] = array(
    '#type' => 'textfield',
    '#title' => t('Text to display'),
    '#default_value' => $this->options['text'],
  );
  parent::options_form($form, $form_state);
}