Issue #2002280 by elvis2, connork: Rename Views method add_signature() to addSignature().

8.0.x
Alex Pott 2013-05-28 23:19:12 +01:00
parent 20d028f50c
commit b880d8f4a9
3 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ abstract class QueryPluginBase extends PluginBase implements QueryInterface {
* @param view $view
* The view which is executed.
*/
function add_signature(ViewExecutable $view) { }
public function addSignature(ViewExecutable $view) { }
/**
* Get aggregation info for group by queries.

View File

@ -1643,7 +1643,7 @@ class Sql extends QueryPluginBase {
}
}
function add_signature(ViewExecutable $view) {
public function addSignature(ViewExecutable $view) {
$view->query->add_field(NULL, "'" . $view->storage->id() . ':' . $view->current_display . "'", 'view_name');
}

View File

@ -1071,7 +1071,7 @@ class ViewExecutable {
}
if (config('views.settings')->get('sql_signature')) {
$this->query->add_signature($this);
$this->query->addSignature($this);
}
// Let modules modify the query just prior to finalizing it.