You are here

function views_handler_relationship_broken::options_form in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 handlers/views_handler_relationship.inc \views_handler_relationship_broken::options_form()
  2. 7.3 handlers/views_handler_relationship.inc \views_handler_relationship_broken::options_form()

Default options form that provides the label widget that all fields should have.

Overrides views_handler_relationship::options_form

File

handlers/views_handler_relationship.inc, line 137
Views' relationship handlers.

Class

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

Code

function options_form(&$form, &$form_state) {
  $form['markup'] = array(
    '#prefix' => '<div class="form-item description">',
    '#value' => 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.'),
  );
}