You are here

public function views_handler_field_ctools_dropdown::options_form in Views (for Drupal 7) 7.3

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

Overrides views_handler_field_links::options_form

File

handlers/views_handler_field_ctools_dropdown.inc, line 29
Definition of views_handler_field_ctools_dropdown.

Class

views_handler_field_ctools_dropdown
Field handler which displays some amount of links as ctools dropdown button.

Code

public function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['fields']['#description'] = t('Fields to be included as ctools dropdown button.');
  $form['destination']['#description'] = t('Include a "destination" parameter in the link to return the user to the original view upon completing a link action.');
  $form['views_admin_css'] = array(
    '#type' => 'checkbox',
    '#title' => t('Include Views admin CSS'),
    '#description' => t("Add additional css to match the style of the Views admin screen."),
    '#default_value' => $this->options['views_admin_css'],
  );
}