QueryFactory::get

public QueryFactory::get($entity_type_id, $conjunction = 'AND') Returns a query object for a given entity type. Parameters string $entity_type_id: The entity type ID. string $conjunction: AND: all of the conditions on the query need to match. OR: at least one of the conditions on the query need to match. Return value \Drupal\Core\Entity\Query\QueryInterface The query object that can query the given entity type. File core/lib/Drupal/Core/Entity/Query/QueryFactory.php, line 53 Class Que

QueryFactory::deleteConfigKeyStore

protected QueryFactory::deleteConfigKeyStore(ConfigEntityTypeInterface $entity_type, Config $config) Deletes lookup data. Parameters \Drupal\Core\Config\Entity\ConfigEntityTypeInterface $entity_type: The entity type. \Drupal\Core\Config\Config $config: The configuration object that is being deleted. File core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php, line 115 Class QueryFactory Provides a factory for creating entity query objects for the config backend. Namespace Drupal\Cor

QueryFactory::CONFIG_LOOKUP_PREFIX

The prefix for the key value collection for fast lookups. File core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php, line 26 Class QueryFactory Provides a factory for creating entity query objects for the config backend. Namespace Drupal\Core\Config\Entity\Query Code const CONFIG_LOOKUP_PREFIX = 'config.entity.key_store.';

QueryFactory::$keyValueFactory

The key value factory. Type: \Drupal\Core\KeyValueStore\KeyValueFactoryInterface File core/lib/Drupal/Core/Entity/KeyValueStore/Query/QueryFactory.php, line 20 Class QueryFactory Provides a factory for creating the key value entity query. Namespace Drupal\Core\Entity\KeyValueStore\Query Code protected $keyValueFactory;

QueryFactory::$entityManager

Stores the entity manager used by the query. Type: \Drupal\Core\Entity\EntityManagerInterface File core/lib/Drupal/Core/Entity/Query/QueryFactory.php, line 29 Class QueryFactory Factory class Creating entity query objects. Namespace Drupal\Core\Entity\Query Code protected $entityManager;

QueryFactory::$connection

The database connection to use. Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Entity/Query/Sql/QueryFactory.php, line 23 Class QueryFactory Factory class creating entity query objects for the SQL backend. Namespace Drupal\Core\Entity\Query\Sql Code protected $connection;

QueryFactory::$configFactory

The config factory used by the config entity query. Type: \Drupal\Core\Config\ConfigFactoryInterface; File core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php, line 33 Class QueryFactory Provides a factory for creating entity query objects for the config backend. Namespace Drupal\Core\Config\Entity\Query Code protected $configFactory;

QueryFactory

Factory class creating entity query objects for the SQL backend. Hierarchy class \Drupal\Core\Entity\Query\Sql\QueryFactory implements QueryFactoryInterface See also \Drupal\Core\Entity\Query\Sql\Query \Drupal\Core\Entity\Query\Sql\QueryAggregate File core/lib/Drupal/Core/Entity/Query/Sql/QueryFactory.php, line 16 Namespace Drupal\Core\Entity\Query\Sql Members Name Modifiers Type Description QueryFactory::$connection protected property The database connection to use.

QueryFactory

Provides a factory for creating entity query objects for the config backend. Hierarchy class \Drupal\Core\Config\Entity\Query\QueryFactory implements QueryFactoryInterface, EventSubscriberInterface File core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php, line 21 Namespace Drupal\Core\Config\Entity\Query Members Name Modifiers Type Description QueryFactory::$configFactory protected property The config factory used by the config entity query. QueryFactory::$namesp

QueryFactory

PostgreSQL specific entity query implementation. To add a new query implementation extending the default SQL one, add a service definition like pgsql.entity.query.sql and a factory class like this. The system will automatically find the relevant Query, QueryAggregate, Condition, ConditionAggregate, Tables classes in this namespace, in the namespace of the parent class and so on. So after creating an empty query factory class like this, it is possible to just drop in a class extending the base c