You are here

function slickgrid_views_plugin::query in Slickgrid 6

Same name and namespace in other branches
  1. 7.2 includes/slickgrid_views_plugin.inc \slickgrid_views_plugin::query()
  2. 7 includes/slickgrid_views_plugin.inc \slickgrid_views_plugin::query()

File

./slickgrid_views_plugin.inc, line 313

Class

slickgrid_views_plugin
Extending the view_plugin_style class to provide a slickgrid style.

Code

function query() {

  // We always want the node type to be returned
  $this->view->query
    ->add_field('node', 'type');
}