function views_handler::options_form

cis7 handlers.inc views_handler::options_form(&$form, &$form_state)
cle7 handlers.inc views_handler::options_form(&$form, &$form_state)
elmsmedia7 handlers.inc views_handler::options_form(&$form, &$form_state)
icor7 handlers.inc views_handler::options_form(&$form, &$form_state)
meedjum_blog7 handlers.inc views_handler::options_form(&$form, &$form_state)
mooc7 handlers.inc views_handler::options_form(&$form, &$form_state)

Build the options form.

5 methods override views_handler::options_form()
views_handler_area::options_form in sites/all/modules/ulmus/views/handlers/views_handler_area.inc
Default options form that provides the label widget that all fields should have.
views_handler_field::options_form in sites/all/modules/ulmus/views/handlers/views_handler_field.inc
Default options form that provides the label widget that all fields should have.
views_handler_filter::options_form in sites/all/modules/ulmus/views/handlers/views_handler_filter.inc
Provide the basic form which calls through to subforms. If overridden, it is best to call through to the parent, or to at least make sure all of the functions in this form are called.
views_handler_relationship::options_form in sites/all/modules/ulmus/views/handlers/views_handler_relationship.inc
Default options form that provides the label widget that all fields should have.
views_handler_sort::options_form in sites/all/modules/ulmus/views/handlers/views_handler_sort.inc
Basic options for all sort criteria

File

sites/all/modules/ulmus/views/includes/handlers.inc, line 385
Defines the various handler objects to help build and display views.

Class

views_handler
Base handler, from which all the other handlers are derived. It creates a common interface to create consistency amongst handlers and data.

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

  $form['ui_name'] = array(
    '#type' => 'textfield',
    '#title' => t('Administrative title'),
    '#description' => t('This title will be displayed on the views edit page instead of the default one. This might be useful if you have the same item twice.'),
    '#default_value' => $this->options['ui_name'],
    '#fieldset' => 'more',
  );

  // This form is long and messy enough that the "Administrative title" option
  // belongs in a "more options" fieldset at the bottom of the form.
  $form['more'] = array(
    '#type' => 'fieldset',
    '#title' => t('More'),
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
    '#weight' => 150,
  );
  // Allow to alter the default values brought into the form.
  drupal_alter('views_handler_options', $this->options, $view);
}