You are here

function views_handler_area_alpha_pagination::options_submit in Views Alpha Pagination 7.2

Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.

Overrides views_handler::options_submit

File

src/views_handler_area_alpha_pagination.inc, line 144

Class

views_handler_area_alpha_pagination
Views area handler to display alphabetic pagination.

Code

function options_submit(&$form, &$form_state) {

  // Need to clear cache when options have changed.
  cache_clear_all($this->alphaPagination
    ->getCid(), 'cache', TRUE);

  // Filter attributes for any XSS vulnerabilities before saving.
  if (!empty($form_state['values']['options']['paginate_link_attributes'])) {
    $form_state['values']['options']['paginate_link_attributes'] = filter_xss_admin($form_state['values']['options']['paginate_link_attributes']);
  }
}