You are here

class SearchApiSortsTestEntityQueryFactory in Search API sorts 8

Class SearchApiSortsTestEntityQueryFactory.

@package Drupal\search_api_sorts_test_entity\Entity

Hierarchy

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
search_api_sorts_test_entity.query.config in tests/search_api_sorts_test_entity/search_api_sorts_test_entity.services.yml
Drupal\search_api_sorts_test_entity\Entity\SearchApiSortsTestEntityQueryFactory

File

tests/search_api_sorts_test_entity/src/Entity/SearchApiSortsTestEntityQueryFactory.php, line 13

Namespace

Drupal\search_api_sorts_test_entity\Entity
View 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

Namesort descending Modifiers Type Description Overrides
QueryFactory::$configFactory protected property The config factory used by the config entity query.
QueryFactory::$namespaces protected property The namespace of this class, the parent class etc.
QueryFactory::CONFIG_LOOKUP_PREFIX constant The prefix for the key value collection for fast lookups.
QueryFactory::deleteConfigKeyStore protected function Deletes lookup data.
QueryFactory::getAggregate public function Instantiates an aggregation query object for a given entity type. Overrides QueryFactoryInterface::getAggregate
QueryFactory::getConfigKeyStore protected function Gets the key value store used to store fast lookups.
QueryFactory::getKeys protected function Creates lookup keys for configuration data.
QueryFactory::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to.
QueryFactory::getValues protected function Finds all the values for a configuration key in a configuration object.
QueryFactory::onConfigDelete public function Removes configuration entity from key store.
QueryFactory::onConfigSave public function Updates configuration entity in the key store.
QueryFactory::updateConfigKeyStore protected function Updates or adds lookup data.
QueryFactory::__construct public function Constructs a QueryFactory object.
SearchApiSortsTestEntityQueryFactory::get public function Instantiates an entity query for a given entity type. Overrides QueryFactory::get