You are here

function mongodb_install in MongoDB 8

Implements hook_install().

File

./mongodb.install, line 29

Code

function mongodb_install() {
  MongodbServiceProvider::createIndexes(\Drupal::service('mongo'), \Drupal::service('settings')
    ->get('mongo'));
}