You are here

function entityreference_view_widget_preprocess_views_view in Entity Reference View Widget 7

The module's exposed form plugin returns a form array instead of a string so that the form can be added to the widget. So $view->exposed_widgets is an array, and $vars['exposed'] is "Array".

File

./entityreference_view_widget.module, line 125

Code

function entityreference_view_widget_preprocess_views_view(&$vars) {
  if (is_array($vars['exposed'])) {
    $vars['exposed'] = '';
  }
}