Constructs a QueryFactory object.
Parameters
\Drupal\Core\Config\StorageInterface $config_storage:
The config storage used by the config entity query.
File
- drupal/core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php, line 34
- Contains \Drupal\Core\Config\Entity\Query\QueryFactory.
Class
- QueryFactory
- Provides a factory for creating entity query objects for the config backend.
Namespace
Drupal\Core\Config\Entity\Query
Code
public function __construct(StorageInterface $config_storage) {
return $this->configStorage = $config_storage;
}