public function MongodbConfigStorageBootstrap::__construct in MongoDB 8
Constructs a new ConfigStorage controller.
Parameters
MongoCollectionFactory $mongo: The object wrapping the MongoDB database object.
string $collection: Name of the config collection.
Overrides MongodbConfigStorage::__construct
File
- src/
MongodbConfigStorageBootstrap.php, line 31 - Definition of Drupal\mongodb\Config\ConfigStorageBootstrap.
Class
Namespace
Drupal\mongodbCode
public function __construct(MongoCollectionFactory $mongo, ClassLoader $class_loader) {
parent::__construct($mongo);
$this->classLoader = $class_loader;
}