You are here

function flag_handler_field_ops::options_form in Flag 7.3

Same name and namespace in other branches
  1. 6.2 includes/flag_handler_field_ops.inc \flag_handler_field_ops::options_form()
  2. 6 includes/flag_handler_field_ops.inc \flag_handler_field_ops::options_form()
  3. 7.2 includes/flag_handler_field_ops.inc \flag_handler_field_ops::options_form()

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

Overrides views_handler_field::options_form

File

includes/views/flag_handler_field_ops.inc, line 52
Contains the flag Ops field handler.

Class

flag_handler_field_ops
Views field handler for the Flag operations links (flag/unflag).

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['link_type'] = array(
    '#type' => 'radios',
    '#title' => t('Link type'),
    '#options' => array(
      '' => t('Use flag link settings'),
    ) + _flag_link_type_options(),
    '#default_value' => $this->options['link_type'],
  );
}