You are here

public function views_handler_filter_broken::options_form in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 handlers/views_handler_filter.inc \views_handler_filter_broken::options_form()
  2. 6.2 handlers/views_handler_filter.inc \views_handler_filter_broken::options_form()

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.

Overrides views_handler_filter::options_form

File

handlers/views_handler_filter.inc, line 1544
Definitions of views_handler_filter and views_handler_filter_broken.

Class

views_handler_filter_broken
A special handler to take the place of missing or broken handlers.

Code

public function options_form(&$form, &$form_state) {
  $form['markup'] = array(
    '#markup' => '<div class="form-item description">' . t('The handler for this item is broken or missing and cannot be used. If a module provided the handler and was disabled, re-enabling the module may restore it. Otherwise, you should probably delete this item.') . '</div>',
  );
}