function views_plugin_query_default::add_signature

Same name in other branches
  1. 7.x-3.x plugins/views_plugin_query_default.inc \views_plugin_query_default::add_signature()

Overrides views_plugin_query::add_signature

File

plugins/views_plugin_query_default.inc, line 1285

Class

views_plugin_query_default
Object used to create a SELECT query.

Code

function add_signature(&$view) {
    $view->query
        ->add_field(NULL, "'" . $view->name . ':' . $view->current_display . "'", 'view_name');
}