Skip to content
Snippets Groups Projects
Commit 0a563e85 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2003476 by baldwinlouie: Rename Views method get_temporary_view() to getTemporaryView().

parent b74991a3
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -160,7 +160,7 @@ public function buildOptionsForm(&$form, &$form_state) {
*
* We use this to obtain our subquery SQL.
*/
function get_temporary_view() {
protected function getTemporaryView() {
$view = entity_create('view', array('base_table' => $this->definition['base']));
$view->addDisplay('default');
return $view->get('executable');
......@@ -197,7 +197,7 @@ protected function leftQuery($options) {
else {
// Create a new view object on the fly, which we use to generate a query
// object and then get the SQL we need for the subquery.
$temp_view = $this->get_temporary_view();
$temp_view = $this->getTemporaryView();
// Add the sort from the options to the default display.
// This is broken, in that the sort order field also gets added as a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment