You are here

function views_plugin_style_galleria::options_submit in Galleria 7

Performs some cleanup tasks on the options array before saving it.

Overrides views_plugin::options_submit

File

includes/views_plugin_style_galleria.inc, line 52
Galleria style plugin for the Views module.

Class

views_plugin_style_galleria
Implements a style type plugin for the Views module.

Code

function options_submit(&$form, &$form_state) {
  $options =& $form_state['values']['style_options'];

  // Pull the fieldset values one level up
  $options += $options['galleria'];
  unset($options['galleria']);
}