1.20.x views_handler_sort.inc | views_handler_sort_broken::options_form(&$form, &$form_state) |
Basic options for all sort criteria
Overrides views_handler_sort::options_form
File
- modules/
views/ handlers/ views_handler_sort.inc, line 231 - @todo.
Class
- views_handler_sort_broken
- A special handler to take the place of missing or broken handlers.
Code
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>',
);
}