public QueryFactory::__construct(Connection$connection)
Constructs a QueryFactory object.
Parameters
\Drupal\Core\Database\Connection $connection: The database connection used by the entity query.
File
- core/lib/Drupal/Core/Entity/Query/Sql/QueryFactory.php, line 38
Class
- QueryFactory
- Factory class creating entity query objects for the SQL backend.
Namespace
Drupal\Core\Entity\Query\Sql
Code
public function __construct(Connection $connection) { $this->connection = $connection; $this->namespaces = QueryBase::getNamespaces($this); }
Please login to continue.