You are here

function pm_handler_field_operation::options_form in Drupal PM (Project Management) 7.2

Same name and namespace in other branches
  1. 8 includes/views/pm_handler_field_operation.inc \pm_handler_field_operation::options_form()
  2. 7.3 includes/views/pm_handler_field_operation.inc \pm_handler_field_operation::options_form()
  3. 7 pm_handler_field_operation.inc \pm_handler_field_operation::options_form()

Defines views field option form.

Overrides views_handler_field_node_link::options_form

File

includes/views/pm_handler_field_operation.inc, line 24
Field handler for PM operation (edit and delete) links.

Class

pm_handler_field_operation
Field handler for PM operation (edit and delete) links.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['display_icons'] = array(
    '#type' => 'checkbox',
    '#title' => t('Display icon links'),
    '#description' => t('Display a icon or a text link for edit, delete and add node links.'),
    '#default_value' => $this->options['display_icons'],
  );
  $form['display_add_icon'] = array(
    '#type' => 'checkbox',
    '#title' => t('Display a node add icon in the views header?'),
    '#default_value' => $this->options['display_add_icon'],
  );
}