function Sql::getTableQueue

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/query/Sql.php \Drupal\views\Plugin\views\query\Sql::getTableQueue()
  2. 8.9.x core/modules/views/src/Plugin/views/query/Sql.php \Drupal\views\Plugin\views\query\Sql::getTableQueue()
  3. 11.x core/modules/views/src/Plugin/views/query/Sql.php \Drupal\views\Plugin\views\query\Sql::getTableQueue()

Returns a reference to the table queue array for this query.

Because this method returns by reference, alter hooks may edit the tables array directly to make their changes. If just adding tables, however, the use of the addTable() method is preferred.

Note that if you want to manipulate the table queue array, this method must be called by reference as well:

$tables =& $query->getTableQueue();

Return value

array A reference to the table queue array structure.

File

core/modules/views/src/Plugin/views/query/Sql.php, line 238

Class

Sql
Views query plugin for an SQL query.

Namespace

Drupal\views\Plugin\views\query

Code

public function &getTableQueue() {
    return $this->tableQueue;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.