Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Sql.php

function 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 262

Class

Sql
Views query plugin for an SQL query.

Namespace

Drupal\views\Plugin\views\query

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal