class SearchApiSortsTestEntityQueryFactory in Search API sorts 8
Class SearchApiSortsTestEntityQueryFactory.
@package Drupal\search_api_sorts_test_entity\Entity
Hierarchy
- class \Drupal\Core\Config\Entity\Query\QueryFactory implements \Symfony\Component\EventDispatcher\EventSubscriberInterface, QueryFactoryInterface
- class \Drupal\search_api_sorts_test_entity\Entity\SearchApiSortsTestEntityQueryFactory
Expanded class hierarchy of SearchApiSortsTestEntityQueryFactory
1 string reference to 'SearchApiSortsTestEntityQueryFactory'
- search_api_sorts_test_entity.services.yml in tests/
search_api_sorts_test_entity/ search_api_sorts_test_entity.services.yml - tests/search_api_sorts_test_entity/search_api_sorts_test_entity.services.yml
1 service uses SearchApiSortsTestEntityQueryFactory
File
- tests/
search_api_sorts_test_entity/ src/ Entity/ SearchApiSortsTestEntityQueryFactory.php, line 13
Namespace
Drupal\search_api_sorts_test_entity\EntityView source
class SearchApiSortsTestEntityQueryFactory extends QueryFactory {
/**
* {@inheritdoc}
*/
public function get(EntityTypeInterface $entity_type, $conjunction) {
return new SearchApiSortsTestEntityQuery($entity_type, $conjunction, $this->configFactory, $this->keyValueFactory, $this->namespaces);
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
QueryFactory:: |
protected | property | The config factory used by the config entity query. | |
QueryFactory:: |
protected | property | The namespace of this class, the parent class etc. | |
QueryFactory:: |
constant | The prefix for the key value collection for fast lookups. | ||
QueryFactory:: |
protected | function | Deletes lookup data. | |
QueryFactory:: |
public | function |
Instantiates an aggregation query object for a given entity type. Overrides QueryFactoryInterface:: |
|
QueryFactory:: |
protected | function | Gets the key value store used to store fast lookups. | |
QueryFactory:: |
protected | function | Creates lookup keys for configuration data. | |
QueryFactory:: |
public static | function | Returns an array of event names this subscriber wants to listen to. | |
QueryFactory:: |
protected | function | Finds all the values for a configuration key in a configuration object. | |
QueryFactory:: |
public | function | Removes configuration entity from key store. | |
QueryFactory:: |
public | function | Updates configuration entity in the key store. | |
QueryFactory:: |
protected | function | Updates or adds lookup data. | |
QueryFactory:: |
public | function | Constructs a QueryFactory object. | |
SearchApiSortsTestEntityQueryFactory:: |
public | function |
Instantiates an entity query for a given entity type. Overrides QueryFactory:: |