You are here

function entityreference_view_widget_plugin_display::options_submit in Entity Reference View Widget 7

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_plugin_display::options_submit

File

views/entityreference_view_widget_plugin_display.inc, line 43

Class

entityreference_view_widget_plugin_display
Provides the "Entityreference View Widget" display which configures the view for inclusion in the widget.

Code

function options_submit(&$form, &$form_state) {
  $this
    ->set_option('hide_left', $form_state['values']['hide_left']);
  parent::options_submit($form, $form_state);
}