You are here

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

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.2 includes/views/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

./pm_handler_field_operation.inc, line 29
Field handler to present a link node edit.

Class

pm_handler_field_operation
@file Field handler to present a link node edit.

Code

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