QueryFactory
class QueryFactory implements QueryFactoryInterface (View source)
Provides a factory for creating the key value entity query.
Properties
| protected KeyValueFactoryInterface | $keyValueFactory | The key value factory. |
|
| protected array | $namespaces | The namespace of this class, the parent class etc. |
Methods
get(EntityTypeInterface $entity_type, string $conjunction)
Instantiates an entity query for a given entity type.
getAggregate(EntityTypeInterface $entity_type, string $conjunction)
Instantiates an aggregation query object for a given entity type.
Details
__construct(KeyValueFactoryInterface $key_value_factory)
Constructs a QueryFactory object.
QueryInterface
get(EntityTypeInterface $entity_type, string $conjunction)
Instantiates an entity query for a given entity type.
QueryAggregateInterface
getAggregate(EntityTypeInterface $entity_type, string $conjunction)
Instantiates an aggregation query object for a given entity type.