You are here

function views_handler::options_form in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 includes/handlers.inc \views_handler::options_form()
  2. 7.3 includes/handlers.inc \views_handler::options_form()
6 calls to views_handler::options_form()
views_handler_area::options_form in handlers/views_handler_area.inc
Default options form that provides the label widget that all fields should have.
views_handler_argument::options_form in handlers/views_handler_argument.inc
views_handler_field::options_form in handlers/views_handler_field.inc
Default options form that provides the label widget that all fields should have.
views_handler_filter::options_form in 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 handlers/views_handler_relationship.inc
Default options form that provides the label widget that all fields should have.

... See full list

6 methods override views_handler::options_form()
views_handler_area::options_form in handlers/views_handler_area.inc
Default options form that provides the label widget that all fields should have.
views_handler_argument::options_form in handlers/views_handler_argument.inc
views_handler_field::options_form in handlers/views_handler_field.inc
Default options form that provides the label widget that all fields should have.
views_handler_filter::options_form in 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 handlers/views_handler_relationship.inc
Default options form that provides the label widget that all fields should have.

... See full list

File

includes/handlers.inc, line 406
handlers.inc 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) {
  $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'],
  );
}