1 views_handler_field_bulk_form.inc views_handler_field_bulk_form::options_validate(&$form, &$form_state)

Overrides views_handler::options_validate().

Overrides views_handler::options_validate

File

core/modules/views/handlers/views_handler_field_bulk_form.inc, line 57
Definition of views_handler_field_bulk_form.

Class

views_handler_field_bulk_form
Defines a actions-based bulk operation form element.

Code

function options_validate(&$form, &$form_state) {
  parent::options_validate($form, $form_state);

  $form_state['values']['options']['selected_actions'] = array_filter($form_state['values']['options']['selected_actions']);
}