1 views_plugin_row_search_view.inc views_plugin_row_search_view::options_form(&$form, &$form_state)

Provide a form for setting options.

Overrides views_plugin_row::options_form

File

core/modules/search/views/views_plugin_row_search_view.inc, line 20
Definition of views_plugin_row_search_view.

Class

views_plugin_row_search_view
Plugin which performs a node_view on the resulting object.

Code

function options_form(&$form, &$form_state) {
  $form['score'] = array(
    '#type' => 'checkbox',
    '#title' => t('Display score'),
    '#default_value' => $this->options['score'],
  );
}