function activity_views_handler_filter_access::options_validate in Activity 7
Simple validate handler.
Overrides views_handler_filter::options_validate
File
- views/
views_handler_filters.inc, line 43 - Provides the Views Filter Handlers.
Class
- activity_views_handler_filter_access
- Filters the Activity records to those that are visible to the context user.
Code
function options_validate($form, &$form_state) {
$form_state['values']['realms'] = array_filter($form_state['values']['realms']);
}