You are here

function workflow_extensions_handler_field_workflow_comment_link_edit::options_form in Workflow Extensions 7

Same name and namespace in other branches
  1. 6 views/workflow_extensions_handler_field_workflow_comment_link_edit.inc \workflow_extensions_handler_field_workflow_comment_link_edit::options_form()

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

Overrides views_handler_field::options_form

File

views/workflow_extensions_handler_field_workflow_comment_link_edit.inc, line 22

Class

workflow_extensions_handler_field_workflow_comment_link_edit
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'],
  );
}