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

Provide a form to edit options for this plugin.

File

core/modules/views/includes/plugin.inc, line 38

Class

views_plugin
Abstract base class to provide interface common to all plugins.

Code

function options_form(&$form, &$form_state) {
  // Some form elements belong in a fieldset for presentation, but can't
  // be moved into one because of the form_state['values'] hierarchy. Those
  // elements can add a #fieldset => 'fieldset_name' property, and they'll
  // be moved to their fieldset during pre_render.
  $form['#pre_render'][] = 'views_ui_pre_render_add_fieldset_markup';
}