You are here

function biblio_handler_field::options_form in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 views/biblio_handler_field.inc \biblio_handler_field::options_form()
  2. 7 views/biblio_handler_field.inc \biblio_handler_field::options_form()
  3. 7.2 views/biblio_handler_field.inc \biblio_handler_field::options_form()
1 call to biblio_handler_field::options_form()
biblio_handler_field_contributor::options_form in views/biblio_handler_field_contributor.inc
1 method overrides biblio_handler_field::options_form()
biblio_handler_field_contributor::options_form in views/biblio_handler_field_contributor.inc

File

views/biblio_handler_field.inc, line 30

Class

biblio_handler_field

Code

function options_form(&$form, &$form_state) {
  $form['biblio_label'] = array(
    '#type' => 'checkbox',
    '#title' => t('Use label specific to biblio type'),
    '#description' => 'Check this option to use the type-specific field labels as defined in ' . l(t('biblio settings'), 'admin/settings/biblio/fields/type'),
    '#default_value' => $this->options['biblio_label'],
  );
  parent::options_form($form, $form_state);
  $form['label'] += array(
    '#process' => array(
      'views_process_dependency',
    ),
    '#dependency' => array(
      'edit-options-biblio-label' => array(
        0,
      ),
    ),
  );
}