You are here

function flot_fields_views_plugin_style::query in Flot 7

Add anything to the query that we might need to.

Overrides views_plugin_style::query

File

flot_views/views/flot_fields_views_plugin_style.inc, line 331
Style plugin for views

Class

flot_fields_views_plugin_style
@file Style plugin for views

Code

function query() {
  switch (get_class($this->view->query)) {
    case 'views_plugin_query_default':
      $this
        ->query_views_plugin_query_default();
      break;
    case 'SearchApiViewsQuery':

      // Nothing to do here, search api returns entities
      break;
    default:
      drupal_set_message('Unsupported query type: ' . get_class($this->view->query));
      break;
  }
}