public ViewExecutable::getQuery()
Gets the current query plugin.
Return value
\Drupal\views\Plugin\views\query\QueryPluginBase The current query plugin.
File
- core/modules/views/src/ViewExecutable.php, line 1139
Class
- ViewExecutable
- Represents a view as a whole.
Namespace
Drupal\views
Code
public function getQuery() { if (!isset($this->query)) { $this->initQuery(); } return $this->query; }
Please login to continue.