function views_plugin::options_form

Same name in other branches
  1. 6.x-3.x includes/plugins.inc \views_plugin::options_form()

Provide a form to edit options for this plugin.

9 calls to views_plugin::options_form()
views_plugin_cache_time::options_form in plugins/views_plugin_cache_time.inc
Provide a form to edit options for this plugin.
views_plugin_display::options_form in plugins/views_plugin_display.inc
Provide the default form for setting options.
views_plugin_exposed_form::options_form in plugins/views_plugin_exposed_form.inc
Provide a form to edit options for this plugin.
views_plugin_pager_full::options_form in plugins/views_plugin_pager_full.inc
Provide the default form for setting options.
views_plugin_pager_none::options_form in plugins/views_plugin_pager_none.inc
Provide the default form for setting options.

... See full list

13 methods override views_plugin::options_form()
views_plugin_access::options_form in plugins/views_plugin_access.inc
Provide the default form for setting options.
views_plugin_argument_default::options_form in plugins/views_plugin_argument_default.inc
Provide the default form for setting options.
views_plugin_argument_validate::options_form in plugins/views_plugin_argument_validate.inc
Provide the default form for setting options.
views_plugin_cache_time::options_form in plugins/views_plugin_cache_time.inc
Provide a form to edit options for this plugin.
views_plugin_display::options_form in plugins/views_plugin_display.inc
Provide the default form for setting options.

... See full list

File

includes/plugins.inc, line 506

Class

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

Code

public 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';
}