You are here

function panelizer_handler_field_link::options_form in Panelizer 7.2

Same name and namespace in other branches
  1. 7.3 plugins/views/panelizer_handler_field_link.inc \panelizer_handler_field_link::options_form()

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

Overrides views_handler_field_node_link::options_form

File

plugins/views/panelizer_handler_field_link.inc, line 31

Class

panelizer_handler_field_link
Views field handler for rendering node links that point to panelizer tabs.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['panelizer_tab'] = array(
    '#type' => 'select',
    '#title' => 'Panelizer tab to link to',
    '#options' => $this->tab_map,
    '#default_value' => $this->options['panelizer_tab'],
  );
}