You are here

function workflow_views_handler_field_comment_link_edit::options_form in Workflow 7.2

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

Overrides views_handler_field::options_form

File

workflow_views/handlers/workflow_views_handler_field_comment_link_edit.inc, line 24
Field handler to present a link to edit a workflow log comment.

Class

workflow_views_handler_field_comment_link_edit
@file Field handler to present a link to edit a workflow log comment.

Code

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