You are here

public function biblio_handler_sort_contributor_lastname::options_form in Bibliography Module 7

Same name and namespace in other branches
  1. 7.2 views/biblio_handler_sort_contributor_lastname.inc \biblio_handler_sort_contributor_lastname::options_form()

Basic options for all sort criteria

Overrides views_handler_sort::options_form

File

views/biblio_handler_sort_contributor_lastname.inc, line 30

Class

biblio_handler_sort_contributor_lastname

Code

public function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['op_val_start'] = array(
    '#value' => '<div class="clearfix">',
  );
  $form['rank'] = array(
    '#title' => t('Sort by which author?'),
    '#type' => 'select',
    '#options' => $this
      ->rank_options(),
    '#default_value' => $this->options['rank'],
  );
  $form['op_val_end'] = array(
    '#value' => '</div>',
  );
}