function views_handler_field_links::options_submit

Overrides views_handler_field::options_submit

File

handlers/views_handler_field_links.inc, line 64

Class

views_handler_field_links
A abstract handler which provides a collection of links.

Code

public function options_submit(&$form, &$form_state) {
    // Remove unselected options.
    $form_state['values']['options']['fields'] = array_filter($form_state['values']['options']['fields']);
    parent::options_submit($form, $form_state);
}