You are here

protected function MongodbConfigStorage::mongoCollection in MongoDB 8

Return value

\MongoCollection

1 call to MongodbConfigStorage::mongoCollection()
MongodbConfigStorage::rename in src/MongodbConfigStorage.php
Renames a configuration object in the storage.

File

src/MongodbConfigStorage.php, line 213
Definition of Drupal\mongodb\Config\MongoStorage.

Class

MongodbConfigStorage

Namespace

Drupal\mongodb

Code

protected function mongoCollection() {
  return $this->mongo
    ->get($this->mongoCollectionName);
}