You are here

function views_handler_field_quotes::options_form in Quotes 7

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

Build option configuration form.

Overrides views_handler_field::options_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' => t('Text'),
      'author' => t('Link to quotes'),
    ),
    '#default_value' => $this->options['author_link'],
  );
}