You are here

protected function MongodbMenuTreeStorage::mongoCollection in MongoDB 8

Return value

\MongoCollection

1 call to MongodbMenuTreeStorage::mongoCollection()
MongodbMenuTreeStorage::moveChildren in src/MongodbMenuTreeStorage.php
Re-parents a link's children when the link itself is moved.

File

src/MongodbMenuTreeStorage.php, line 446
Contains \Drupal\mongodb\MongodbMenuTreeStorage .

Class

MongodbMenuTreeStorage

Namespace

Drupal\mongodb

Code

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