You are here

function views_handler_field_quotes::options_form in Quotes 6

Same name and namespace in other branches
  1. 7 views_handler_field_quotes.inc \views_handler_field_quotes::options_form()

Build option configuration form.

File

./views_handler_field_quotes.inc, line 25
Provide views data and handlers for quotes.module

Class

views_handler_field_quotes
Field handler to provide an embedded image.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['author_link'] = array(
    '#title' => t('Show author as'),
    '#type' => 'radios',
    '#options' => array(
      'text' => 'Text',
      'author' => 'Link to quotes',
    ),
    '#default_value' => $this->options['author_link'],
  );
}