diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php index a5d583eaee95bea92e5f00320bb91c36012c2564..6014420be2022f6f488303cc7bf189abbe4ef19c 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php @@ -79,7 +79,7 @@ function execute(ViewExecutable $view) { } * @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. diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php index c9f7237dc5102f55b7b6304d49d854922381dbcb..3898dc5d77350cb09bcbd150d390a00509266d64 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php @@ -1643,7 +1643,7 @@ function loadEntities(&$results) { } } - function add_signature(ViewExecutable $view) { + public function addSignature(ViewExecutable $view) { $view->query->add_field(NULL, "'" . $view->storage->id() . ':' . $view->current_display . "'", 'view_name'); } diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php index 3556195886134cab2c9a94211cf6990355b31aef..532c5b2ca13ddbdc12dfbd56fe93aec40ee3da87 100644 --- a/core/modules/views/lib/Drupal/views/ViewExecutable.php +++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php @@ -1071,7 +1071,7 @@ public function build($display_id = NULL) { } 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.