You are here

function flag_handler_field_ops::options_form in Flag 6

Same name and namespace in other branches
  1. 6.2 includes/flag_handler_field_ops.inc \flag_handler_field_ops::options_form()
  2. 7.3 includes/views/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()

File

includes/flag_handler_field_ops.inc, line 47
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'],
  );
}