public function Query::getTables in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/Query/Sql/Query.php \Drupal\Core\Entity\Query\Sql\Query::getTables()
Gets the Tables object for this query.
Parameters
\Drupal\Core\Database\Query\SelectInterface $sql_query: The SQL query object being built.
Return value
\Drupal\Core\Entity\Query\Sql\TablesInterface The object that adds tables and fields to the SQL query object.
1 call to Query::getTables()
- Query::getSqlField in core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ Query.php - Constructs a select expression for a given field and language.
File
- core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ Query.php, line 319 - Contains \Drupal\Core\Entity\Query\Sql\Query.
Class
- Query
- The SQL storage entity query class.
Namespace
Drupal\Core\Entity\Query\SqlCode
public function getTables(SelectInterface $sql_query) {
$class = static::getClass($this->namespaces, 'Tables');
return new $class($sql_query);
}