You are here

protected function MongodbPathAliasStorage::mongoCollection in MongoDB 8

Return value

\MongoCollection

File

src/MongodbPathAliasStorage.php, line 52
Contains Drupal\mongodb\Path.

Class

MongodbPathAliasStorage
Provides a class for CRUD operations on path aliases in MongoDB.

Namespace

Drupal\mongodb

Code

protected function mongoCollection() {
  $ret = $this->mongo
    ->get(static::ALIAS_COLLECTION);
  return $ret;
}