You are here

function mediafront_views_set_options in MediaFront 7.2

Sets the options for the views handler.

1 call to mediafront_views_set_options()
mediafront_form_views_ui_config_item_form_submit in views/mediafront.views.inc
Submit handler for the views field items.

File

./mediafront.module, line 198

Code

function mediafront_views_set_options(&$handler, $options) {

  // Store these settings in the field handler options.
  $handler->options['mediafront'] = $options;

  // Set these settings in a variable so they can be exported.
  $settings = mediafront_views_get_options();
  $settings[$handler->view->name][$handler->field] = $options;
  variable_set('mediafront_views_options', $settings);
}